AW: color plotyy 2

Jörg Schreiber Schreiber at solarzentrum-allgaeu.de
Wed May 27 02:55:09 CDT 2009


Hello,

 

I forgot to say: I plottet 4 lines:

 

ax,h1,h2= plotyy(x,y1,x,y2)

 

where y1,y2 are 2column-matrixes.

 

 

unfortunately the default color for the 2nd line of y1 is green, but green is the color of the right y-axis. 

I managed to make both y1-lines blue, but rather like to have them e.g. blue and magenta.

 

if I set linewidth=2 the second line becomes dashed, what is ok, but when I export to pdf-printer the lines are thin and no more dashed.

 

 

 

 

 

  

 

 

> 

> > <image001.jpg>

> >

> > how ist he correct syntax to set e.g. the color of [1,2]?

> 

> To make the second line red ...

> 

>     set (h1{2}, [1 0 0])

> 

> Ben

> 

> 

> 

> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090527/24e4022a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 24128 bytes
Desc: image001.jpg
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090527/24e4022a/attachment-0002.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 17851 bytes
Desc: image003.jpg
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090527/24e4022a/attachment-0003.jpe 


More information about the Help-octave mailing list