[gradsusr] Help: How to customize contour label in GrADS?
Ricardo Hallak
ricardo.hallak at iag.usp.br
Thu Jan 16 13:18:37 EST 2014
Hi Jennifer,
I think JH Yap wants to get a contour label with something like, for example, "21JAN" instead the julian day 21, and so on. His contour levels are julian days. I guess it is kind of difficult to do, if not impossible. That is, to get julian days as contour levels in a map, certainly it comes from a matrix of data composed by julian days, one julian day (a number) for each grid point. How to get the same information using a "string" date? The problem here is that contours, in GrADS, comes from numbers, through a process of interpolation (numbers again), not from strings. How to interpolate "strings"?
Maybe JH Yap could give us an example of contour label he wants, just to clarify a bit more.
Ricardo
----- Mensagem original -----
> De: "Jennifer Adams" <jma at cola.iges.org>
> Para: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Enviadas: Quinta-feira, 16 de Janeiro de 2014 12:48:26
> Assunto: Re: [gradsusr] Help: How to customize contour label in
> GrADS?
> Are you interesting in changing the contour labels or the axis
> labels? For contour labels, 'set clab' is the most general, and 'set
> clopts' and 'set clskip' control their appearance. For axis labels,
> most of the controls do not apply to a date/time axis, so you have
> to override manually with 'set xlabs'. --Jennifer
> On Jan 15, 2014, at 3:36 AM, 얍준후이 wrote:
> > Hi GrADS team,
>
> > I have displayed my contour by default like this
>
> > ga-> set gxout contour
>
> > ga -> d flowers
>
> > Contouring: 80 to 145 interval 5
>
> > Then I get my contour presented in map as per the image attached.
>
> > The contour label is julian date.
>
> > Now I would like to change the contour label to regular date.
>
> > I already made a function for julian date to regular date
> > conversion
> > in GrADS script language.
>
> > How could I customize the default contour label (julian date) to
> > regular date by using my function?
>
> > Thank you
>
> > -------------------------
>
> > JH Yap, M.Eng.
>
> > Software Development Engineer / Safe Korea
>
> > Office: +82-02-2668-3926
>
> > Mobile: +82-10-8281-3241
>
> > E-mail: jhyap at safekorea.co.kr
>
> > <how to change contour label.JPG>
> > _______________________________________________
>
> > gradsusr mailing list
>
> > gradsusr at gradsusr.org
>
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jennifer M. Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> 111 Research Hall, Mail Stop 2B3
> George Mason University
> 4400 University Drive
> Fairfax, VA 22030
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140116/55ba717d/attachment.html
More information about the gradsusr
mailing list