[gradsusr] Need help with histogram plot
Eric Aligo
eric.aligo at noaa.gov
Thu Mar 5 15:44:28 EST 2015
Hi,
I would like to generate a histogram plot with precip 5 precip bins
along the x-axis. Below I sum up the points with precip between .01
and 0.1" (the first bin) summ over t=1 and t=2. A similar calculation
would be done for the remaining 4 precip bins. I tried plotting this
one bar and I get nothing. What am I doing wrong and what's the best
way to resolve this?
Eric
'set t 1 2'
'set lat 33.66 37.02'
'set lon -101.54 -94.36'
'pin=apcpsfc/25.4'
'bin1=const(const(maskout(maskout(pin,pin-0.0099),0.1-pin),1),0,-u)'
'summ=asumg(bin1,lon=-101.54,lon=-94.36,lat=33.66,lat=37.02)'
'set gxout bar'
'set x 1'
'set y 1'
'set z 1'
'd sum(summ,t=1,t=2)'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150305/4c39ad5a/attachment.html
More information about the gradsusr
mailing list