Line and Marker Properties Corrupt
John W. Eaton
jwe at octave.org
Thu Dec 4 09:38:54 CST 2008
On 26-Nov-2008, Peter Berntsen wrote:
|
| I don't know if it is gnuplot or octave to blame but
|
| t = 0:0.1:6.3;
| line(t,sin(t),'linestyle','-')
| Gives the same result as linestyle changed to:
| Dashed lines.
| "--"
| Points.
| ":"
| A dash-dot line.
| "-."
| That is the line style is solid no matter what I specify.
| Linewidth works.
|
| plot(t,sin(t),".","markersize",3)
| plot(t,sin(t),"+","markersize",3)
| plot(t,sin(t),"*","markersize",3)
| plot(t,sin(t),"o","markersize",3)
| plot(t,sin(t),"x","markersize",3)
|
| Gives the same results as octave:
| plot(t,sin(t),".")
|
| I run gnuplot
| G N U P L O T
| Version 4.2 patchlevel 3
| last modified Mar 2008
| System: Linux 2.6.27-7-generic
|
| and octave:
| GNU Octave, version 3.0.1
I think the problem is that gnuplot does not provide
terminal-independent control over line styles.
jwe
More information about the Bug-octave
mailing list