[Thread Prev][Thread Next][Index]
axis label
Hello All,
I read in 48 points of data from a netCDF file:
set data airtemp.nc
and then I'm using the following script to create a plot of the data:
DEFINE AXIS/t="1-OCT-2002:00:30":"2-OCT-2002:00:00":30/UNITS=minutes my_taxis
let tseq_air_temp = tsequence(Air_Temperature)
let tax_air_temp = tseq_air_temp[gt=my_taxis@asn]
let Air_Temperature_Kelvin = tax_air_temp
let Air_Temp = Air_Temperature_Kelvin
plot/set_up/nolabel Air_Temp
ppl title "Air Temperature - Diurnal Cycle"
ppl xlab "Time"
ppl ylab "Celsius"
ppl plot
It may be more complex than needed, but it works. However, the x axis is la
belled with both hours and date, i.e.:
00 01 02 03 . . . 22 23 00
Oct 1
I want to keep only the hours ("00 01 02 03 . . . 22 23 00", an ano
nymous 24 hour sequence) and get rid of the "Oct 1" part. Can someone tell
me how to do that?
I tried xlab as both
ppl xlab"Date, Time"
and
ppl xlab "Time" but they both gave me the same results.
Thank you,
Ben
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement