Re: Taylor diagram

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 07 2011 - 08:13:26 MST

Hello

If you go to the following:

http://www-pcmdi.llnl.gov/about/staff/Taylor/CV/Taylor_diagram_primer.htm

Then click on " Taylor_diagram_examples.pdf"
The first example is a 'full' taylor diagram.

As you can see, the x-axis is symmetric.
In your case -2 to +2. Also, negative correlation
labels must be added.

I am quite sure the plot could be modified to
handle asymmetric x-axis but it would involve
modifying the code even more.

Good luck

On 3/6/11 3:24 PM, Lei Meng wrote:
> Hi,
> I only apply log scale to the ratio of variances, not correlations.
> I changed the numbers in taylor_diagram.ncl and I got the attached
> figure. Do you have any sense what might be wrong with the code? The
> modified code is also attached. Thanks,
> Lei
>
>
> On Sun, Mar 6, 2011 at 4:22 PM, Dennis Shea <shea@ucar.edu
> <mailto:shea@ucar.edu>> wrote:
>
> The following illustrates how we handle negative values.
> http://www.cgd.ucar.edu/~shea/taylor_biasNegCC-1.png
> <http://www.cgd.ucar.edu/%7Eshea/taylor_biasNegCC-1.png>
> http://www.cgd.ucar.edu/~shea/taylor_biasNegCC-1.png
> <http://www.cgd.ucar.edu/%7Eshea/taylor_biasNegCC-1.png>
> The script is
> http://www.cgd.ucar.edu/~shea/taylor_diagram_cam.ncl
> <http://www.cgd.ucar.edu/%7Eshea/taylor_diagram_cam.ncl>
>
> ===
> (a) To have ratios as large as 100 is very unusual.
> Even more than 2 is unusual.
> (b) log scale: I am not sure how you would do this if
> there are negative values
>
> Can you change the code? Well, yes, I am sure you can.
> However, it will require you to become with some detailed aspects
> of the graphics
>
> Some numbers to chage
>
> xyMin = 0.
> xyOne = 1.00
> xyMax = 1.65
>
> ;
> default "OBS" or "REF"
> ;rxy@tmXBLabels = (/"0.00","0.25","0.50","0.75","REF"
> ,"1.25","1.50"/)
> rxy@tmXBLabels = (/" ","0.25","0.50","0.75","REF"
> ,"1.25","1.50"/)
> if (rOpts .and. isatt(rOpts,"OneX") ) then ;
> eg: rOpts@OneX="1.00"
> ;rxy@tmXBLabels =
> (/"0.00","0.25","0.50","0.75",rOpts@OneX,"1.25","1.50"/)
> rxy@tmXBLabels = (/"
> ","0.25","0.50","0.75",rOpts@OneX,"1.25","1.50"/)
> end if
>
> rxy@tmXBMajorLengthF = 0.015 ; default=0.02 for a vpHeightF=0.6
> rxy@tmXBLabelFontHeightF = FontHeightF
> rxy@tmXBMinorOn = False
> rxy@trXMaxF = xyMax_Panel
>
> rxy@tmYLMode = "Manual"
> rxy@tmYLMinorOn = False
> rxy@tmYLMajorLengthF = rxy@tmXBMajorLengthF
> rxy@tmYLLabelFontHeightF = FontHeightF
> rxy@tmYLMode = "Explicit"
> rxy@tmYLValues = (/0.0, .25,0.50, 0.75, 1.00, 1.25, 1.5/) ;
> major tm
> rxy@tmYLLabels =
> (/"0.00","0.25","0.50","0.75","1.00","1.25","1.50"/)
> ;rxy@tmYLLabels = (/"
> ","0.25","0.50","0.75","1.00","1.25","1.50"/)
>
>
>
>
> On 3/6/11 12:50 PM, Lei Meng wrote:
>
> Hi,
> I wonder if I can change the range of standardized deviation
> on a
> Taylor diagram. All examples on the ncl-ncar website show a range of
> 0-1.6. I am trying to plot a very large range of values on x-y axis
> (from 0 to more than 100). log scale on x-y axis would be
> better. How
> can I make x-y axis on the diagram starting from negative
> values. I made
> some changes to taylor_diagram.ncl, but did not work. Thanks,
> Lei
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 7 08:13:33 2011

This archive was generated by hypermail 2.1.8 : Mon Mar 07 2011 - 15:20:57 MST