Dashed and dotted lines (in 3.0.2)

Fredrik Lingvall fl at ifi.uio.no
Wed Sep 3 05:05:24 CDT 2008


David Bateman wrote:
> Fredrik Lingvall wrote:
>> I'm trying to plot dashed and/or dotted lines in Octave 3.0.2 but it 
>> don't seem to work.
>>
>> x=randn(100,1);
>> plot(x,'k--')
>>
>> should produce a black dashed line but I only can see a solid line 
>> (I'm using the Gnuplot backend).
>>
>> /Fredrik
>>   
>
> Gnuplot doesn't implemented dashed/dotted lines on some terminals.. 
> Notably on the X11 terminal. On those that support it they are visible 
> (eg eps)
>
> D.
>
>
Hm, I don't see any dashed lines in the eps-file by doing, for example,

plot(x,'--')
print -F:18 -depsc test.eps

/F



More information about the Help-octave mailing list