[Thread Prev][Thread Next][Index]

Axis label on contour plot using reshape function



I'm using the reshape function and contour to plot months vs. years.
The contour plot has y-axis label is "Z" and the x-axis is "T".
I want to change the x and y axis labels from the defaults.
How can I do that?

set region/x=-136.0:-130.0/y=27.0:30.0
use tmin
DEFINE AXIS/T=1901:1910:1 tyear
DEFINE AXIS/Z=1:12:1 zmonth
LET out_grid = Z[GZ=zmonth]+T[GT=tyear]
LET my_reshaped = RESHAPE(tmp[x=@ave,y=@ave,t=15-jan-1910:15-dec-1902], out_grid)
contour/fill my_reshaped

Thanks!

--
Steve Knox
Natural Resource Ecology Laboratory
Colorado State University
Fort Collins, CO 80523-1499
stevek@nrel.colostate.edu



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement