[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
controlling plotting style (latex terminal)
From: 
John W. Eaton 
Subject: 
controlling plotting style (latex terminal) 
Date: 
Wed, 8 Jan 2003 10:23:44 0600 
On 7Jan2003, Andrass Ziska Davidsen <address@hidden> wrote:
 I would like to control the style, with which my data are plotted.

 In gnuplot I would say:

 plot 'bldata' with points lt 2 lw 2 pt 10 ps 3

 where 'bldata' is the datafile (in octave it should be a matrix)
 lt is linetype
 lw linewidth
 pt pointtype
 ps pointsize

 I must admit, that it eludes me how to do the equvalent from an octave
 script.
When you type
gplot ...
in Octave, you are not talking directly to gnuplot. Octave must parse
that line, and not all features of the gnuplot command language are
implemented in Octave. If you want all the features of gnuplot's
command language, you can either save your data to a file and use
gnuplot directly, or fix Octave to support more features of the
gnuplot command language.
I now think that duplicating (some of) the gnuplot command language in
Octave was a bad idea, and I expect that gplot and friends will
eventually be removed from Octave. But this does not mean that I
think there should be no way to set the line width for plots in
Octave. What is the the interface for this operation in Matlab?
Should we adopt that for Octave as well, or is there a substantially
better way that doesn't cause compatibility problems?
jwe

Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
