The following illustrates how we handle negative values.
http://www.cgd.ucar.edu/~shea/taylor_biasNegCC-1.png
http://www.cgd.ucar.edu/~shea/taylor_biasNegCC-1.png
The script is
http://www.cgd.ucar.edu/~shea/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 Sun Mar 6 14:22:28 2011
This archive was generated by hypermail 2.1.8 : Mon Mar 07 2011 - 15:20:58 MST