Re: LineLabels

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Sun Sep 26 2010 - 13:19:55 MDT

Dear Tina,

The line labels will change if the plot is resized, because NCL is using some internal algorithm to figure out where to place labels based on the distance between contour levels.

When you panel plots, the distance between contour levels gets smaller, and hence you are likely to have fewer labels.

You might need to play with the cnLineLabelDensityF value (i.e. make it larger than 1.0) to make it work for paneled plots.

--Mary

On Sep 26, 2010, at 8:40 AM, ÁõÏþ¾ê wrote:

> Dear all,
>
> I came into some problem in setting the linelabels.
> I want some lines to be explicitly labeled with corresponding values. The code set to accomplish this work is as follows:
> res2@cnMonoLevelFlag = False
> res2@cnExplicitLineLabelsOn = True
> res2@cnLineLabelInterval = 4
> res2@cnLineLabelStrings = (/-4,-2,0,2,4/)
> res2@cnLineLabelDensityF = 1
>
> It worked well in single plot, but lost its function when several plots being paneled.
>
> Are there any special settings needed to have it work in panel plots?
> Best regards,
> Tina
>
> _______________________________________________
> 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 Sun Sep 26 13:20:01 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 08:55:55 MDT