[gradsusr] How to align plot grid with twin (double) Y axis?

Jeff Duda jeffduda319 at gmail.com
Tue Sep 4 12:34:03 EDT 2012


It might take some trial and error, but you could probably achieve the
desired effect using the set yaxis and/or set ylevs commands.

Jeff Duda

On Tue, Sep 4, 2012 at 10:23 AM, klo uo <klonuo at gmail.com> wrote:

> Hi,
>
> Let me ask with example: I want to plot "t" and "slp" on same graph
> plot and and when I do so, horizontal grid lines are messed because
> "t" vertical ticks and "slp" vertical ticks aren't automatically
> aligned.
>
> ====================
> set lat xx
> set lon xx
> set t 1 last
>
> set ylpos 0 l
> d t2m-273.16
>
> set ylpos 0 r
> d slp/100
> ====================
>
> Is there easy way to make them aligned so that horizontal grid is same
> for both Y axis?
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120904/2d113585/attachment-0003.html 


More information about the gradsusr mailing list