[gradsusr] Overriding GrADS default behavior for line graphs.
Eric Altshuler
ela at cola.iges.org
Tue May 17 02:33:33 EDT 2011
Salvador,
You can control the Y-axis range with 'set vrange' before displaying the variables, and since the vrange setting remains in effect until you issue a 'clear' command, it will be the same for both graphs. Given your range of values, try this:
'set vrange -25 25'
'd t2'
'd td2'
Best regards,
Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA
E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793
----- Original Message -----
From: "Salvador Salazar" <ssalaza4 at asu.edu>
To: gradsusr at gradsusr.org
Sent: Tuesday, May 17, 2011 1:18:21 AM
Subject: [gradsusr] Overriding GrADS default behavior for line graphs.
Hi everyone,
I'm having a simple problem. I want to see the temperature at 2 meters
and dewpoint at 2 meters on the same line graph (variables t2 and
td2). The problem is that the range for 't2' is -4 to about 20, while
the range for td2 is about -20 to about 6. I've tried using the 'set
yaxis' command, which seems to force the points to the specified start
and end intervals, regardless of the actual data values. This is NOT
what I want; I want to preserve the actual values. I've also used the
'set ylevs' command, but since GrADS plots variables one by one, I
must plot t2 first, for instance. Once it plots t2, GrADS
automatically cuts a majority of the negative values, since that t2
doesn't have any negative values below -5. Now, I can't see td2 on the
same plot. It does a similar thing if I try to plot td2 first. How can
I tell GrADS to not hack my levels with the 'ylevs' command?
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list