Re: How to control "correlation" text position in Taylor Diagram.

From: Will Hobbs <Will.Hobbs_at_nyahnyahspammersnyahnyah>
Date: Thu May 02 2013 - 21:07:37 MDT


The label 'Correlation" is added to the plot in line 229 of the
taylor_diagram.ncl script (Part 2 : correlation labels). The line is

> dum4 = gsn_add_text(wks,taylor,"Correlation",1.30,1.30,txRes)

Here the x and y locations are set to 1.30, so you just need to change
them to whatever works. I have change mine to function of the variable
xyMax (see below) so that it updates automatically, and that seems to work
pretty well.

> dum4 = gsn_add_text(wks,taylor,"Correlation",.78*xyMax,.78*xyMax,txRes)

You might need to play around a bit to get what you want though.


On 3/05/13 3:07 AM, "" <> wrote:

>I have increased the values of rxy@tmXBValues rxy@tmXBLabels
>rxy@tmYLValues rxy@tmYLLabels from default 1.65 to 3.00 but failed to
>change the position of the text "correlation". Now the "correlation"
>appeared inside the circle. I am attaching the plot for your
>convenience. Another issue is the RMSD circle does not end at the
>X-axis.Could anyone please suggest me how to control the position of
>the text.

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu May 2 21:07:49 2013

This archive was generated by hypermail 2.1.8 : Tue May 07 2013 - 08:38:33 MDT