<div dir="ltr">no i have already used that but it is not smoothening it.<br><br>Manu<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 12:57 PM, Mohsen Soltani <span dir="ltr"><<a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">set this function to smooth the contours: 'set csmooth on'<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 5/7/13, manu verma <<a href="mailto:verma.manuu@gmail.com">verma.manuu@gmail.com</a>> wrote:<br>
> but that shaded contours are not smooth i am sending you the image with<br>
> this mail<br>
><br>
><br>
> On Tue, May 7, 2013 at 9:15 PM, Goodson,Ron [Edm]<br>
> <<a href="mailto:Ron.Goodson@ec.gc.ca">Ron.Goodson@ec.gc.ca</a>>wrote:<br>
><br>
>><br>
>> sure you can have two shaded fields in one chart. Obviously, unless one<br>
>> is semi-transparent .. the 2nd will cover up the first. That may be<br>
>> fine if you only want to shaded some subset of the 2nd field. For<br>
>> example, I have one chart with "clouds" as greyshades, and precipitation<br>
>> > 0.2mm overlaid (also shaded). So if you only want RH > 50% shaded ..<br>
>> then just mask out values < 50% and plot this second.<br>
>><br>
>> set your colour table<br>
>> draw your first field<br>
>> define your mask .. example ... define mymask = (rh - 50%)<br>
>> set your new colour table<br>
>> draw your 2nd field .. example ... display maskout(rh, mymask)<br>
>><br>
>> easy peasy...<br>
>><br>
>> ron<br>
>><br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a><br>
>> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Mohsen Soltani<br>
>> Sent: May 7, 2013 1:08 AM<br>
>> To: GrADS Users Forum<br>
>> Subject: Re: [gradsusr] TEMPERATURE AND RH CONTOURS<br>
>><br>
>> You can't display two shaded in one chart at the same time! one should<br>
>> be shaded and the other one have to be in contour lines, respectively.<br>
>><br>
>> However, 'set gxout contour' will produce a contour line, and 'set<br>
>> gxout shaded' will produce a shaded chart.<br>
>><br>
>> Good luck,<br>
>> Mohsen<br>
>><br>
>> On 5/6/13, manu verma <<a href="mailto:verma.manuu@gmail.com">verma.manuu@gmail.com</a>> wrote:<br>
>> > in this we are overlaying contours on shaded i want both shaded<br>
>> ><br>
>> ><br>
>> > On Mon, May 6, 2013 at 3:36 PM, Mohsen Soltani<br>
>> > <<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>>wrote:<br>
>> ><br>
>> >> Dear Manu,<br>
>> >><br>
>> >> The below script might helps you to produce a map of shaded<br>
>> >> temperature in the background with R. humidity contours overlay.<br>
>> >><br>
>> >><br>
>> >> 'sdfopen .........temperature data........nc'<br>
>> >> 'set grads off'<br>
>> >> 'set grid off'<br>
>> >> 'set lon .. ..'<br>
>> >> 'set lat .. ..'<br>
>> >> 'set t .....'<br>
>> >><br>
>> >> ** please change the following, if needed****<br>
>> >><br>
>> >> 'set gxout shaded'<br>
>> >> 'set vpage 0.0 11 0.0 8.5'<br>
>> >> 'set parea 1.0 10.20 0.60 8.0'<br>
>> >> 'set csmooth on'<br>
>> >> 'set grid off'<br>
>> >> 'set grads off'<br>
>> >> 'set xlint 10'<br>
>> >> 'set ylint 5'<br>
>> >> 'set font 1'<br>
>> >> 'set font 1'<br>
>> >> 'set cthick 6'<br>
>> >><br>
>> >> 'set rgb 19 255 255 160'<br>
>> >> 'set rgb 20 255 225 120'<br>
>> >> 'set rgb 21 255 192 60'<br>
>> >> 'set rgb 22 255 160 0'<br>
>> >> 'set rgb 23 255 96 0'<br>
>> >> 'set rgb 24 255 50 0'<br>
>> >> 'set rgb 60 255 35 0'<br>
>> >> 'set rgb 25 225 20 0'<br>
>> >> 'set rgb 26 192 0 0'<br>
>> >> 'set rgb 27 165 0 0'<br>
>> >> 'set rgb 28 130 0 0'<br>
>> >> 'set rgb 29 102 0 0'<br>
>> >> 'set rgb 30 70 0 0'<br>
>> >><br>
>> >> 'set rgb 40 209 228 253'<br>
>> >> 'set rgb 42 164 205 236'<br>
>> >> 'set rgb 43 125 184 227'<br>
>> >> 'set rgb 44 40 179 219'<br>
>> >> 'set rgb 45 55 146 213'<br>
>> >> 'set rgb 46 119 147 255'<br>
>> >> 'set rgb 47 36 88 255'<br>
>> >> 'set rgb 48 0 47 236'<br>
>> >> 'set rgb 49 0 37 175'<br>
>> >> 'set rgb 50 0 37 147'<br>
>> >> 'set rgb 51 0 23 117'<br>
>> >> 'set rgb 52 0 10 95'<br>
>> >> 'set rgb 53 0 5 75'<br>
>> >> 'set rgb 54 0 5 55'<br>
>> >> 'set rgb 55 0 5 35'<br>
>> >> 'set rgb 56 0 5 15'<br>
>> >><br>
>> >> 'set clevs -7 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20'<br>
>> >> 'set ccols 48 46 45 44 43 40 0 20 21 22 23 24 25 26 27 28 29 30'<br>
>> >><br>
>> >> 'set clab on'<br>
>> >> 'set xlopts 1 6 0.19'<br>
>> >> 'set ylopts 1 6 0.19'<br>
>> >> 'set mpdset mres'<br>
>> >> 'set rgb 95 75 75 75'<br>
>> >> 'set map 95 1 6'<br>
>> >> 'set ccolor 1 1 6'<br>
>> >> 'display air-273.14'<br>
>> >> **************************<br>
>> >> 'run cbarn 1 1 10.3 4.20'<br>
>> >><br>
>> >> ***Overlay Contour****************<br>
>> >><br>
>> >><br>
>> >> 'set csmooth on'<br>
>> >> 'set grid off'<br>
>> >> 'set grads off'<br>
>> >> 'set clevs -7 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20'<br>
>> >> 'set clskip 2'<br>
>> >> 'set font 1'<br>
>> >> 'set gxout contour'<br>
>> >> 'set cstyle 1'<br>
>> >> 'set ccolor 15'<br>
>> >> 'set cthick 5'<br>
>> >> 'set clab off'<br>
>> >> 'set xlopts 1 6 0.19'<br>
>> >> 'set ylopts 1 6 0.19'<br>
>> >> 'set clopts 1 6 0.10'<br>
>> >> 'display air-273.14'<br>
>> >> 'set mpdset hires'<br>
>> >><br>
>> >> ****the above will produce temperature with a shaded backround +<br>
>> >> temperature contours overlay*****<br>
>> >><br>
>> >> 'sdfopen .......R.Humidity data.......nc'<br>
>> >> 'set dfile 2'<br>
>> >> 'set t .....'<br>
>> >><br>
>> >> **other functions may be needed, it's up to you!*****<br>
>> >><br>
>> >> 'set gxout contour''<br>
>> >> 'd rhum (or what you've defined!)'<br>
>> >><br>
>> >> 'set cmin 50' *** this function doesn't make values under 50% of Rhum<br>
>><br>
>> >> data in the chart*****<br>
>> >><br>
>> >> Good Luck,<br>
>> >> Mohsen<br>
>> >><br>
>> >> On 5/6/13, manu verma <<a href="mailto:verma.manuu@gmail.com">verma.manuu@gmail.com</a>> wrote:<br>
>> >> > Dear all<br>
>> >> ><br>
>> >> > I want to make temperature and rh contours both together on one<br>
>> >> > frame and both must be shaded and rh to ne grater that 50 %.<br>
>> >> ><br>
>> >> ><br>
>> >> > PLease help me<br>
>> >> ><br>
>> >> > Manu<br>
>> >> ><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> --<br>
>> >> some are weather-wise some are otherwise!<br>
>> >> --<br>
>> >> Best Wishes,<br>
>> >> (Mr.) Mohsen Soltani<br>
>> >> Climatology Grad Student (M.Sc.),<br>
>> >> Faculty of Geography, University of Tehran, Tehran, Iran<br>
>> >> Tel: (+98) 9119772934<br>
>> >> e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
>> >> _______________________________________________<br>
>> >> gradsusr mailing list<br>
>> >> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> >> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>> >><br>
>> ><br>
>><br>
>><br>
>> --<br>
>> --<br>
>> some are weather-wise some are otherwise!<br>
>> --<br>
>> Best Wishes,<br>
>> (Mr.) Mohsen Soltani<br>
>> Climatology Grad Student (M.Sc.),<br>
>> Faculty of Geography, University of Tehran, Tehran, Iran<br>
>> Tel: (+98) 9119772934<br>
>> e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
><br>
<br>
<br>
--<br>
--<br>
some are weather-wise some are otherwise!<br>
--<br>
Best Wishes,<br>
(Mr.) Mohsen Soltani<br>
Climatology Grad Student (M.Sc.),<br>
Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>
e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div>