[ncl-talk] something wrong with my "cnFillOn"

Mary Haley haley at ucar.edu
Wed Jan 2 08:54:02 MST 2019


There's not enough information to help you.

In order to get color contours and a labelbar, and assuming that you are
using one of the gsn_csm_contour or gsn_csm_contour_xxx functions, then all
you need to do is set the "cnFillOn" resource to True:

res = True
res at cnFillOn = True
. . .

If you continue to have problems, then please provide more information. For
example:

Are you getting an error message? If so, what is the exact error?

What does your code look like?  It helps if you can provide the script.

You mentioned running NCL on a server and getting the color contours, and
then you said when you run the same script only the labelbar has color.  Do
you mean you were running it on a different system? If so, where are you
running the script in the "bad" case? It would help if you could attach
both the "good" image and the "bad" image so we have a better idea of what
is wrong.

What version of NCL do you have on the server, and what version are you
running in the "bad" case?

Please read our posting guidelines for information on posting to ncl-talk
when you have a problem with NCL:

http://www.ncl.ucar.edu/Support/posting_guidelines.shtml

Thank you,

--Mary

On Wed, Jan 2, 2019 at 7:40 AM victor <mashibo321 at 126.com> wrote:

>
>
> I run my ncl script on a server and get a pic with color contour. When I
> run the same script, only the label bar has color. There's no color
> contour. Color lines are OK. Could someone give me a hand?
>
>
>
> --
> ------------------------------------------------------------------------
> Shibo Ma(马世波)
> Graduate Student
> Department of Atmospheric and Oceanic Sciences
> School of Physics, Peking University
> No. 209 Chengfu Road, Beijing, China
> Email: mashibo321 at 126.com
> Tel : +86 18810507714
> ------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190102/b2f50b5f/attachment.html>


More information about the ncl-talk mailing list