Hi,<br> I have a variable shaded (values form 1 to 10), and I want to plot a contour of another variable on it. But I want to plot contours only over the region where shaded values are more than 5. I tried with the following, but did not work. It is plotting contours over all region. Any help will be great....
<br><br>'open a1.ctl'<br>'open a2.ctl'<br>'set lat -20 20'<br>'set lon 0 360'<br>'run B-R.gs'<br>'set clevs 1 2 3 4 5 6 7 8 9 10'<br>'set ccols 16 17 18 19 20 50 21 22 23 24 25'
<br>'set gxout shaded'<br>'d var1'<br>if(var1>5)<br>'set ccolor 0'<br>'set gxout contour'<br>'set clevs 0.5 1.0 1.5 2.0'<br>'set ylpos 0 r'<br>'d var2.2'<br>endif
<br>'run cbarn 0.7 0 4.0 5.5'<br><br><br>-- <br>John Guhin