<div dir="ltr"><div>;The variables take the order of the input Consider Example 8 at<br><a href="http://www.ncl.ucar.edu/Applications/taylor.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/taylor.shtml</a><br></div>Example 8<br>===========<br><div><br><pre>; Cases [Model]
case = (/ "Data A", "Data B" /)
nCase = dimsizes(case ) ; # of Cases [Cases]
; variables compared
var = (/ "Globe","20S-20N","Land", "Ocean", "N. America", "Africa" /)
nVar = dimsizes(var) ; # of Variables
; "Case A"
CA_ratio = (/1.230, 0.988, 1.092, 1.172, 1.064, 0.990 /)
CA_cc = (/0.958, 0.973,-0.740, 0.743, 0.922, 0.950 /)
BA = (/2.7 ,-1.5 , 17.31,-20.11, 12.5 , 8.341 /)
; "Case B"
CB_ratio = (/1.129, 0.996, 1.016, 1.134, 1.023, 0.962 /)
CB_cc = (/0.963, 0.975, 0.801, 0.814,-0.946, 0.984 /)
BB = (/1.7 , 2.5 ,-17.31, 20.11, 19.5 , 7.341 /)
; arrays to be passed to taylor plot
ratio = new ((/nCase, nVar/),typeof(CA_cc) )
cc = new ((/nCase, nVar/),typeof(CA_cc) )
bias = new ((/nCase, nVar/),typeof(CA_cc) )
ratio(0,:) = CA_ratio
ratio(1,:) = CB_ratio
cc(0,:) = CA_cc
cc(1,:) = CB_cc
bias(0,:) = BA
bias(1,:) = BB<br><br>===<br><br></pre><pre>If you want the id order to be reversed<br><br> ratio(0,:) = CB_ratio
ratio(1,:) = CA_ratio
cc(0,:) = CB_cc
cc(1,:) = CA_cc
bias(0,:) = BB
bias(1,:) = BA<br><br></pre><pre><br></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 8:11 AM, dream916 <span dir="ltr"><<a href="mailto:dream916@gmail.com" target="_blank">dream916@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I would like to change the variable labels on the following diagram. For instance, I would like to change "9" to "1". I am not sure which part of the taylor code needs to be revised. I attached my ncl code and the associated taylor code. Thank you!</div><div><br></div><div>Lei</div><div><br></div><div><img src="cid:ii_1497b5a2e8e76bfb" alt="Inline image 1" height="409" width="432"><br></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>