<div dir="ltr"><div>Use 'set parea' to force the plotting area to be in the same position. You can then use ylpos and a clever combination of vrange and ylint to make the second field plot with tick labels on the right side of the plotting window in such a way that the tick marks align.<br><br></div><div>I used the code below to generate the attached example image:<br>ga-> set parea 0.5 10.5 0.5 8<br>ga-> set lev 900 200<br>LEV set to 900 200<br>ga-> d ugrdprs;vgrdprs<br>Notice: Automatic Grid Interpolation Taking Place<br>ga-> set z 1<br>LEV set to 1000 1000<br>ga-> set ylpos 0 r<br>SET YLPOS values: Offset = 0 Side = Right<br>ga-> set vrange 1007 1014<br>1-D axis limits set: 1007 to 1014<br>ga-> set ylint 0.5<br>ylint = 0.5<br>ga-> d prmslmsl/100<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 12, 2016 at 12:35 AM, Xingang Lyu <span dir="ltr"><<a href="mailto:lxg@fio.org.cn" target="_blank">lxg@fio.org.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font size="2">Dear GrADS users,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I am trying to plot two time-relevant figures on a fixed (lon,
lat) site. One is the time curve for Lifting Index (a 2D variable), the other is
the Time-Pressure revolution figure for u-v vectors (3-D variable). My
question is, how to make these two figures using the same time axis? see the
attachment, please. Thanks.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Regards,</font></div>
<div><font size="2">Gary Lyu</font></div>
<div><font size="2"></font> </div></div>
<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>