[ncl-talk] RGB triplets colormap --> Two different figures, same script.
Guido Cioni
guidocioni at gmail.com
Fri Jun 1 03:29:15 MDT 2018
Lara, this is indeed pretty weird...
Do you get any warning while running the script?
Also, could you attach the script so that we can take a look?
Thanks
> On 1. Jun 2018, at 11:19, Lara Quitián Hernández <laraquitianhernandez at gmail.com> wrote:
>
> Good morning,
>
> I'm trying to display a particular field using a combination of RGB triplets. I have already defined them:
>
> colors = (/"(/1.00, 1.00, 1.00/)", "(/0.98, 0.99, 1.00/)", \
> "(/0.98, 0.99, 1.00/)", "(/0.96, 0.98, 0.99/)", \
> "(/0.95, 0.98, 0.99/)", "(/0.94, 0.98, 0.99/)", \
> "(/0.93, 0.97, 0.99/)", "(/0.92, 0.97, 0.99/)", \
> "(/0.91, 0.96, 0.99/)", "(/0.90, 0.96, 0.99/)", \
> "(/0.89, 0.96, 0.99/)", "(/0.88, 0.95, 0.99/)", \
> "(/0.87, 0.95, 0.98/)", "(/0.86, 0.94, 0.98/)", \
> "(/0.85, 0.94, 0.98/)", "(/0.84, 0.94, 0.98/)"/)
>
> gsn_define_colormap(wks,colors)
>
> However, I obtain a figure without title, tickmarks, time stamp, labelbar information, etc.
>
> <850hPa_ETH_416_2014-10-19_18:00:00.png>
> The issue is that when I use a predefined colormap without changing any other variable in my script:
>
> gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")
>
> I obtain a complete figure with all predefined settings. Both images are generated with the same script, only by modifying the colormap function. What's going on?
>
> <850hPa_ETH2_416_2014-10-19_18:00:00.png>
>
> Thanks in advance.
>
> Regards,
> Lara
>
> -
>
>
> Lara Quitián Hernández, PhD Student
> Departamento de Física de la Tierra, Astronomía y Astrofísica
> Facultad de Ciencias Físicas
> Ciudad Universitaria, Plaza Ciencias, 1
> 28040 Madrid. Spain
> Email: lquitian at ucm.es <mailto:mlunar at aemet.es>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180601/fd2b58cb/attachment.html>
More information about the ncl-talk
mailing list