Re: how change values of x or y axis for contour

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 09 2012 - 14:51:39 MST

Hi Nikola,

If I understand your question correctly, then you can use "getvalues" to retrieve the values on the X axis, multiply these by 300, and then use these for the new values for the labels.

See the attached "x

axis.ncl" script.

--Mary

On Nov 9, 2012, at 2:40 PM, Nikola Marjanovic wrote:

> Hello,
>
> I've made a contour plot in NCL and would like to modify the y and x axis labels or tick marks. I know there is a way to do this manually using tickmark (tm) resources by specifying tmXBMode, tmXBValues, and tmXBLabels. All I want to do is take the default values of the x axis and y axis and multiply them by a number like 300 and have that show in the figure. Is it possible to do this? I can't find any resources to do it, but it seems like it should be possible. I am confused as to whether tmXBDataLeftF and tmXBDataRightF can be used to do what I described.
>
> Thank you for any help,
> Nikola
> _______________________________________________
> 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 Fri Nov 9 14:51:50 2012

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2012 - 14:27:24 MST