[gradsusr] the command for changing color does not work at all
TAO Fl
taofl2002 at yahoo.com
Thu Sep 14 11:04:21 EDT 2017
Hi, Jennifer,
Thank you very much for your kind reply. Yes, I agree with you that this problem should be easily solved, but I am wondering why the color does not change at all using the following script:
'clear'
'reinit'
'open gmean.ctl'
'query file'
'set gxout shaded'
'set clevs -50 -40 -30 -20 -10 0 10 20 30 40 50 60'
'set ccols 6 2 8 12 7 10 3 13 5 11 4 14 9'
'd amean'
*'set ccols 9 14 4 11 5 13 3 10 7 12 8 2 6'
*'d amean'
'set poli on'
'run cbarn'
Your help is highly appreciated.
FL
Show original message On Monday, September 11, 2017 4:18 PM, Jennifer M Adams <jadams21 at gmu.edu> wrote:
Your problem is easily solved by using ‘set clevs’ and ‘set ccols’ together with ‘gxout shaded’ to control the colors and contour levels of your plot. If you cannot get it to work, then please post the simplest possible version of a script that demonstrates the error.
As for getting a windows version, that ball is in Arlindo’s court at the moment, unless someone else volunteers. Building GrADS for MS Windows is always difficult, but version 2.2 is especially tricky because of the use use of dynamically loaded libraries.
—Jennifer
> On Sep 11, 2017, at 2:07 AM, TAO Fl <taofl2002 at yahoo.com> wrote:
>
> Hello, Jennifer,
>
> Any solution for changing the color and making the command ‘set ccolor revrain’ work well for this window version?
>
> It is a important and basic function, hope you can solve it as soon as possible.
>
> Many thanks
>
> FL
>
>
>
> On Wednesday, September 6, 2017 5:36 PM, TAO Fl <taofl2002 at yahoo.com> wrote:
>
>
> Hi,
>
> Could you please also update the OpenGrads ? When can be expected?
>
> Many thanks
>
>
> On Sunday, September 3, 2017 9:38 AM, TAO Fl <taofl2002 at yahoo.com> wrote:
>
>
> Hi, Jennifer,
> Thank you so much for your kind reply.
> It is a good suggestion, I tried but does not work,the color keep same.
> This is a basic and important function, please look it further to solve the probelm.
> I am looking forward to hearing of you again.
>
> Many thanks
>
> FL
>
>
> On Saturday, September 2, 2017 8:49 PM, Jennifer M Adams <jadams21 at gmu.edu> wrote:
>
>
> It looks like ‘set ccolor revrain’ only has an effect with ‘set gxout contour’. I will look a little further at the code to see why that might be the case. In the meanwhile, if you draw the plot without ‘set ccolor revrain’, and then issue the ‘q shades’ command, you will get information about the contour levels and colors used to draw the plot. You can parse these and re-arrange them do draw the colors in reverse.
>
> ga-> d t2m
> ga-> q shades
> Number of levels = 10
> 9 <= 220
> 14 220 230
> 4 230 240
> 5 240 250
> 13 250 260
> 10 260 270
> 7 270 280
> 8 280 290
> 2 290 300
> 6 300 >
>
> ga-> set ccols 6 2 8 7 10 13 5 4 14 9
> ga-> set clevs 220 230 240 250 260 270 280 290 300
> ga-> d t2m
>
> —Jennifer
>
>
> > On Sep 2, 2017, at 10:04 AM, TAO Fl <taofl2002 at yahoo.com> wrote:
> >
> >
> > Dear All:
> >
> > I use the MC window version, OpenGrADs (GrADs_2.0.2oga.2).
> >
> > I just want to change the color from rainbow to revrain in mapping by using the command 'set ccolor revrain' , but the command does not work at all. The color can not be changed.
> >
> > How to solve this problem?
> >
> > One way is to change another version, but where is the best version for MC window version, how to install it?
> >
> > Thanks again.
> >
> > FL
>
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
>
>
>
>
>
>
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170914/14d6559c/attachment.html
More information about the gradsusr
mailing list