Re: Histogram % Scale

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 19 2012 - 14:20:45 MDT

Hi Jonathan,
So you want to limit the range of the Y-axis? If so, simply set trYMaxF
= 14.
http://www.ncl.ucar.edu/Document/Graphics/Resources/tr.shtml#trYMaxF
http://www.ncl.ucar.edu/Applications/tickmarks.shtml#ex1

If that is not what you are after please let ncl-talk know..
Adam

On 04/19/2012 01:51 PM, jbuzan wrote:
> Hello NCL Users,
> I may have missed the reply. Did someone look at this issue?
>
> -Jonathan
>
>
> On Apr 18, 2012, at 3:13 PM, jbuzan wrote:
>
>> Hello NCL users,
>>
>> I am attempting to make histograms of my data, and I want to make the percent scale the same for all plots for easy comparisons.
>>
>> My data fields cap at ~14% percent, so I want to set the bar lengths from 0-14% for all the plots.
>>
>> Does anyone know what resource I would use to do this?
>>
>> Thanks,
>> -Jonathan
>>
>> These are my current resource settings:
>>
>> res = True
>> ; res@gsnHistogramSelectNiceIntervals = False ; intervals now float
>> res@gsnHistogramComputePercentages = True ; change left axis to %
>> res@gsnHistogramClassIntervals = (/2,6,10,14,18,22,26,30,34,38,42,46,50/)
>> res@gsnHistogramComputePercentagesNoMissing = True
>> res@gsnHistogramPercentSign = True
>> res@tmXBLabelAngleF = 315. ; change label angle
>>
>>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 19 14:21:00 2012

This archive was generated by hypermail 2.1.8 : Fri Apr 20 2012 - 16:21:18 MDT