<html><head><base href="x-msg://683/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Andy</div><div><br></div>cint (contour interval) only applies to contour lines, i.e. when you <div><br></div><div>set gxout contour</div><div><br></div><div>Shading intervals are set with </div><div><br></div><div>set clevs</div><div><br></div><div>see my example below: </div><div><br></div><div>Shading interval is determined by whatever you set up in your legend, i.e. (this is an example gs file : my_legend.gs)</div><div><br></div><div><div>*light blue to dark blue</div><div>'set rgb 41 200 255 255'</div><div>'set rgb 42 175 240 255'</div><div>'set rgb 43 130 210 255'</div><div>'set rgb 44 95 190 250'</div><div>'set rgb 45 75 180 240'</div><div>'set rgb 46 60 170 230'</div><div>'set rgb 47 40 150 210'</div><div>'set rgb 48 30 140 200'</div><div>'set rgb 49 20 130 190'</div><div>'set rgb 50 20 120 180'</div><div>'set rgb 51 20 110 170'</div><div><br></div><div>*light pink to dark rose </div><div>'set rgb 61 255 230 230'</div><div>'set rgb 62 255 200 200'</div><div>'set rgb 63 248 160 160'</div><div>'set rgb 64 230 140 140'</div><div>'set rgb 65 230 112 112'</div><div>'set rgb 66 230 80 80' </div><div>'set rgb 67 200 60 60' </div><div>'set rgb 68 180 40 40'</div><div>'set rgb 69 164 32 32'</div><div>'set rgb 70 134 32 32'</div><div>'set rgb 71 104 32 32'</div><div>'set rgb 72 74 32 32'</div><div><br></div><div>'set grads off'</div><div>'set timelab on'</div><div><br></div><div>'set clevs -25 -22.5 -20 -17.5 -15 -12.5 -10 -7.5 -5 -2.5 0 2.5 5 7.5 10 12.5 15 17.5 20 22.5 25 '</div><div>'set ccols 51 50 49 48 47 46 45 44 43 42 41 62 63 64 65 66 67 68 69 70 71 72'</div><div><br></div><div>Here my shading interval is 2.5. </div><div><br></div><div>If you wanted to plot contours + shading then you'd simply make cint 2.5 as well.</div><div><br></div><div>set gxout shaded</div><div>d variable</div><div>set gxout contour</div><div>set cint 2.5</div><div>d variable</div><div>run my_legend.gs</div><div><br></div></div><div>You can define your own colors as I have above - you just need to know what the rgb values are. the limitations usually come </div><div><br></div><div>If you don't "run my_legend.gs" or if you don't specify set clevs and set ccols in your script, GRADS will use default colors and intervals and it will change from plot to plot depending on what the max/min values are. Using your own set colors and intervals will ensure the same legend range is used for all plots. </div><div><br></div><div>Hope this helps.</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div><div><div><div>Regards,</div><div><br></div><div>Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)</div><div>Director of Meteorological Operations</div><div>CustomWeather, Inc.</div><div>San Francisco, California, USA</div><div><br></div><div>"Taking the World by Storm!"</div><div><br></div><div><a href="http://www.customweather.com">http://www.customweather.com</a></div><div><a href="http://www.myforecast.com">http://www.myforecast.com</a></div><div><a href="http://www.1stweather.com">http://www.1stweather.com</a></div><div><br></div><div>cell: 415-794-0411</div><div>work: 415-777-3566</div><div>email: <a href="mailto:klevey@customweather.com">klevey@customweather.com</a></div></div></div></div></div></span>
</div>
<br><div><div>On Nov 11, 2009, at 11/11/09 - 9:03 AM, Andrew Revering wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">In this example:<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><a href="http://portal.nccs.nasa.gov/cgi-d520_fp/geos5_wx.cgi" style="color: blue; text-decoration: underline; ">http://portal.nccs.nasa.gov/cgi-d520_fp/geos5_wx.cgi</a><o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">The number of shade levels is ‘a lot’. So you get this look of something very fluid, and hard to see one color to the next.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">I tried to set cint to 1 in my map, and it does not seem to be contouring every 1 degree.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">Is this a limitation due to the number of defined colors (16) ? and when its set to 1 there are too many levels and not enough colors?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">Or is there something else I need to do so that I’m able to contour at a very frequent interval?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">Is there a way to have the default colors just circulate automatically… IE, when you go through all the colors have it just start over again, or is this done by default?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; "><o:p> </o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span style="font-size: 12pt; ">Andy</span></font><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "><o:p></o:p></span></font></div></div></div></blockquote></div><br></div></body></html>