[ncl-talk] Tickmarks on top x axis - ExplicitComputeMajorTickMarks Error

Paraskevi Vourlioti p.vourlioti at fz-juelich.de
Tue Apr 24 01:11:22 MDT 2018


Dear Users,

I solved my problem. I reduced the top axis tickmarks bellow 256 by
simply setting a smaller

resXY at tmXTValues and resXY at tmXTLabels arrays.

Kind regrards

Voula


On 23.04.2018 18:46, Paraskevi Vourlioti wrote:
> dear NCL  Users,
>
> I used gsn_csm_xy to plot an XY plot. On the X axis i have 616 values
> which i would like to correspond to some numbers on the top x axis.
> So, i used this :
>
> resXY at tmXTMode        = "Explicit"
> resXY at tmXUseBottom    =  False
> resXY at tmXTLabelsOn    =  True
> resXY at tmXTOn          =  True
>
> resXY at tmXTValues=(/ chanels_by_num /)
>
>  and the for the resXY at tmXTLabels i  assigned them to 616 values that
> range from 16 to  8078.
>
> then i get this error :
>
> warning:ExplicitComputeMajorTickMarks: Maximum tickmarks (256) has
> been reached, tickmarks may appear in complete
>
> and my plot looks  as all the labels are squeezed to the left on the
> top x axis.
>
> I attach my ncl code.
>
> Thank you very much, really need some help here
>
> Voula
>



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



More information about the ncl-talk mailing list