<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1505394389574_7048" dir="ltr"><span id="yui_3_16_0_ym19_1_1505394389574_7096">Hi, Jennifer,</span></div><div dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1505394389574_7125" dir="ltr"><span id="yui_3_16_0_ym19_1_1505394389574_7137">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:</span></div><div id="yui_3_16_0_ym19_1_1505394389574_7086"><span><br></span></div><div id="yui_3_16_0_ym19_1_1505394389574_7047" dir="ltr"><span id="yui_3_16_0_ym19_1_1505394389574_7046">'clear'<br id="yui_3_16_0_ym19_1_1505394389574_7035">'reinit'<br id="yui_3_16_0_ym19_1_1505394389574_7036">'open gmean.ctl'<br id="yui_3_16_0_ym19_1_1505394389574_7037">'query file'<br id="yui_3_16_0_ym19_1_1505394389574_7038">'set gxout shaded'<br id="yui_3_16_0_ym19_1_1505394389574_7039">'set clevs -50 -40 -30 -20 -10 0 10 20 30 40 50 60'<br id="yui_3_16_0_ym19_1_1505394389574_7040">'set ccols 6 2 8 12 7 10 3 13 5 11 4 14 9'<br id="yui_3_16_0_ym19_1_1505394389574_7041">'d amean'<br id="yui_3_16_0_ym19_1_1505394389574_7042">*'set ccols 9 14 4 11 5 13 3 10 7 12 8 2 6'<br id="yui_3_16_0_ym19_1_1505394389574_7043">*'d amean'<br id="yui_3_16_0_ym19_1_1505394389574_7044">'set poli on'<br id="yui_3_16_0_ym19_1_1505394389574_7045">'run cbarn'</span></div> <div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1505394389574_7059"><br></div><div class="qtdSeparateBR">Your help is highly appreciated.</div><div class="qtdSeparateBR"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1505394389574_7140">FL<br><br></div><div title="Show original message" class="thread-quoted-text unselectable custom-quoted-text" id="yui_3_16_0_ym19_1_1505394389574_7157" role="presentation"> <span class="icon icon-chevron-right qtd-expansion-icon" role="presentation"></span> <span tabindex="0" class="qtd-expansion-text" role="button" aria-label="Show original message">Show original message</span> </div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1505394389574_7067" style="display: block;"> <div id="yui_3_16_0_ym19_1_1505394389574_7066" style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div id="yui_3_16_0_ym19_1_1505394389574_7065" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_ym19_1_1505394389574_7146" dir="ltr"><font id="yui_3_16_0_ym19_1_1505394389574_7145" face="Arial" size="2"> On Monday, September 11, 2017 4:18 PM, Jennifer M Adams <jadams21@gmu.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1505394389574_7064"><div id="yui_3_16_0_ym19_1_1505394389574_7063" dir="ltr">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. <br clear="none"><br clear="none">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. <br clear="none">—Jennifer<br clear="none"><br clear="none">> On Sep 11, 2017, at 2:07 AM, TAO Fl <<a href="mailto:taofl2002@yahoo.com" shape="rect" ymailto="mailto:taofl2002@yahoo.com">taofl2002@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> Hello, Jennifer,<br clear="none">> <br clear="none">> Any solution for changing the color and making the command ‘set ccolor revrain’ work well for this window version?<br clear="none">> <br clear="none">> It is a important and basic function, hope you can solve it as soon as possible.<br clear="none">> <br clear="none">> Many thanks<br clear="none">> <br clear="none">> FL<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Wednesday, September 6, 2017 5:36 PM, TAO Fl <<a href="mailto:taofl2002@yahoo.com" shape="rect" ymailto="mailto:taofl2002@yahoo.com">taofl2002@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> Hi,<br clear="none">> <br clear="none">> Could you please also update the OpenGrads ? When can be expected?<br clear="none">> <br clear="none">> Many thanks <br clear="none">> <br clear="none">> <br clear="none">> On Sunday, September 3, 2017 9:38 AM, TAO Fl <<a href="mailto:taofl2002@yahoo.com" shape="rect" ymailto="mailto:taofl2002@yahoo.com">taofl2002@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> Hi, Jennifer,<br clear="none">> Thank you so much for your kind reply.<br clear="none">> It is a good suggestion, I tried but does not work,the color keep same. <br clear="none">> This is a basic and important function, please look it further to solve the probelm.<br clear="none">> I am looking forward to hearing of you again. <br clear="none">> <br clear="none">> Many thanks<br clear="none">> <br clear="none">> FL<br clear="none">> <br clear="none">> <br clear="none">> On Saturday, September 2, 2017 8:49 PM, Jennifer M Adams <<a href="mailto:jadams21@gmu.edu" shape="rect" ymailto="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> 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. <br clear="none">> <br clear="none">> ga-> d t2m<br clear="none">> ga-> q shades<br clear="none">> Number of levels = 10<br clear="none">> 9 <= 220<br clear="none">> 14 220 230<br clear="none">> 4 230 240<br clear="none">> 5 240 250<br clear="none">> 13 250 260<br clear="none">> 10 260 270<br clear="none">> 7 270 280<br clear="none">> 8 280 290<br clear="none">> 2 290 300<br clear="none">> 6 300 ><br clear="none">> <br clear="none">> ga-> set ccols 6 2 8 7 10 13 5 4 14 9<br clear="none">> ga-> set clevs 220 230 240 250 260 270 280 290 300<br clear="none">> ga-> d t2m<br clear="none">> <br clear="none">> —Jennifer<br clear="none">> <br clear="none">> <br clear="none">> > On Sep 2, 2017, at 10:04 AM, TAO Fl <<a href="mailto:taofl2002@yahoo.com" shape="rect" ymailto="mailto:taofl2002@yahoo.com">taofl2002@yahoo.com</a>> wrote:<br clear="none">> > <br clear="none">> > <br clear="none">> > Dear All:<br clear="none">> > <br clear="none">> > I use the MC window version, OpenGrADs (GrADs_2.0.2oga.2).<br clear="none">> > <br clear="none">> > 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. <br clear="none">> > <br clear="none">> > How to solve this problem?<br clear="none">> > <br clear="none">> > One way is to change another version, but where is the best version for MC window version, how to install it? <br clear="none">> > <br clear="none">> > Thanks again.<br clear="none">> > <br clear="none">> > FL<br clear="none">> <br clear="none">> > _______________________________________________<br clear="none">> > gradsusr mailing list<br clear="none">> > <a href="mailto:gradsusr@gradsusr.org" shape="rect" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br clear="none">> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank" shape="rect">http://gradsusr.org/mailman/listinfo/gradsusr</a><br clear="none">> <br clear="none">> --<br clear="none">> Jennifer Miletta Adams<br clear="none">> Center for Ocean-Land-Atmosphere Studies (COLA)<br clear="none">> George Mason University<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none"><br clear="none">--<br clear="none">Jennifer Miletta Adams<br clear="none">Center for Ocean-Land-Atmosphere Studies (COLA)<br clear="none">George Mason University<div class="yqt5389488265" id="yqtfd30695"><br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">gradsusr mailing list<br clear="none"><a href="mailto:gradsusr@gradsusr.org" shape="rect" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br clear="none"><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank" shape="rect">http://gradsusr.org/mailman/listinfo/gradsusr</a><br clear="none"></div></div><br><br></div> </div> </div> </div></div></body></html>