<div dir="ltr">in this we are overlaying contours on shaded i want both shaded <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 3:36 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">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>
data in the chart*****<br>
<br>
Good Luck,<br>
Mohsen<br>
<div><div class="h5"><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 frame and<br>
> both must be shaded and rh to ne grater that 50 %.<br>
><br>
><br>
> PLease help me<br>
><br>
> Manu<br>
><br>
<br>
<br>
</div></div>--<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>
</blockquote></div><br></div>