Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp; 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>&#39;open a1.ctl&#39;<br>&#39;open a2.ctl&#39;<br>&#39;set lat -20 20&#39;<br>&#39;set lon 0 360&#39;<br>&#39;run B-R.gs&#39;<br>&#39;set clevs 1 2 3 4 5 6 7 8 9 10&#39;<br>&#39;set ccols 16 17 18 19 20 50 21 22 23 24 25&#39;
<br>&#39;set gxout shaded&#39;<br>&#39;d var1&#39;<br>if(var1&gt;5)<br>&#39;set ccolor 0&#39;<br>&#39;set gxout contour&#39;<br>&#39;set clevs 0.5 1.0 1.5 2.0&#39;<br>&#39;set ylpos 0 r&#39;<br>&#39;d var2.2&#39;<br>endif
<br>&#39;run cbarn 0.7 0 4.0 5.5&#39;<br><br><br>-- <br>John Guhin