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

From: Nikola Marjanovic <nikola_marjanovic_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 09 2012 - 15:53:14 MST

Hi Mary,

Thank you. That works quite well. I was hoping that there is a way to
easily modify the x axis values before the contour gets created, but it
seems like that cannot be done (or at least not in one line).

Thanks again,
Nikola

On Fri, Nov 9, 2012 at 1:51 PM, Mary Haley <haley@ucar.edu> wrote:

> 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
>
>
>
Received on Fri Nov 9 15:53:45 2012

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