[Thread Prev][Thread Next][Index]

Re: [ferret_users] specifying graticule color changes the plot color (line plot)



Hi Saurabh,

On Fri, Mar 18, 2022 at 10:50 PM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote: 
 
However, when I issue the command as shown below it issues the graticule command to my variable without changing itself. I can not understand why it is so.

plot/thick=2.1/axes/set/nolab/nokey/dash/col=(99,30,30)/HGRAT="large=(dash, color=(50,50,50,50))"/VGRAT="large=(dash, color=(50,50,50,50))"/vlimits=300.0:1000.0:100.0 mldws [I've added the closing paren.]


I get a strange result, perhaps the same as yours.  I just simplify your script to the one below.  I use macOS 12.3 and PyFerret 7.63 .

Basically,

! Works.
plot/col=(100,0,0)/HGRAT="large=(color=green)" func[i=0:10]
! Doesn't work.
plot/col=(100,0,0)/HGRAT="large=(color=(0,100,0))" func[i=0:10]


That is, the "color=(r,g,b)" form doesn't work there.

Ryo
--------------------------------------

[Thread Prev][Thread Next][Index]