Dear Wuhu,<br>
<br>
I tried your script and I have three remarks:<br>
<br>
1) Maybe the range you use for the second plot is wrong:<br>
Shouldn't it be 0.0 to 0.6, instead of 0.6 to 0.0??<br>
<br>
2) Check if you have an 'enter' or 'carriage return' or<br>
whatever you call it after the last line. It happend to me that<br>
the line 'd sunlight' was not executed because of this<br>
detail.<br>
<br>
3) With the 2 corrections above I got the second plot,<br>
but not the second axis... I don't know why, but<br>
I had to add an 'set ylpos 0 r' to the first plot also to<br>
get set second axis to be drawn correctly.<br>
<br>
Hope that helps<br>
<br>
Henrique Barbosa<br>
<br>
<br><div><span class="gmail_quote">On 10/12/05, <b class="gmail_sendername">Wuhu Feng</b> &lt;<a href="mailto:fengwh@env.leeds.ac.uk">fengwh@env.leeds.ac.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for correcting me. In fact, in my grads script file I<br>use ylpos rather than ylops. However, I still can not get the plot for the<br>second variable. Can you figure me out? Thanks.<br><br>Wuhu<br>Here is my script.
<br><br>'set dfile 1'<br>'set clab forced'<br>'set grid off'<br>'set grads off'<br>'set t 2 125'<br>'set y 1'<br>'set lev 456'<br>'set x 1'<br>'set ylint 5'<br>'set cmark 0'<br>'set vrange -70 0'<br>'set cstyle 1'<br>'set ccolor 1'
<br>'set cthick 20'<br>'d o3loss*100'<br>'set dfile 12'<br>'set ylopts 1 4 0.12'<br>'set ylpos 0 l'<br>'set clab forced'<br>'set grid off'<br>'set grads off'<br>'set t 2 125'<br>'set y 1'<br>'set z 1'<br>'set x 1'<br>'set cmark 0'
<br>'set vrange 0.6 0.0'<br>'set cthick 20'<br>'set cstyle 2'<br>'d sunlight'<br><br><br>--------------------------------------<br>Dr. Wuhu Feng<br>Institute for Atmospheric Science<br>School of Earth and Environment<br>University of Leeds
<br>Leeds<br>LS2 9JT UK<br>Tel:(44) 0113 343 6766<br>Fax:(44) 0113 343 6716<br>Mob:(44) 07779658785<br><a href="mailto:E-mail:fengwh@env.leeds.ac.uk">E-mail:fengwh@env.leeds.ac.uk</a><br>Web: <a href="http://www.env.leeds.ac.uk/~fengwh">
http://www.env.leeds.ac.uk/~fengwh</a><br>--------------------------------------<br><br>On Wed, 12 Oct 2005, Yan Huang wrote:<br><br>&gt; it is 'ylpos', not 'ylops' if you want to use secondary y-axis<br>&gt;<br>&gt; At 11:34 AM 10/12/2005, you wrote:
<br>&gt; &gt;Thanks for the reply. However, I need to use 'set ylops 0 r' command to<br>&gt; &gt;overlap two different variables in one figure which have different scale<br>&gt; &gt;(one is from -100 to 0, the other from 0 
0.6). How can I do that using<br>&gt; &gt;Grads.<br>&gt; &gt;<br>&gt; &gt;Thanks.<br>&gt; &gt;<br>&gt; &gt;Wuhu<br>&gt;<br></blockquote></div><br>