[ncl-talk] variable info on color bar

Dennis Shea shea at ucar.edu
Fri Jan 6 20:44:10 MST 2017


By default, the 'gsn_csm_contour_map' places the variable's long_name
attribute in the upper left

If the variable being plotted has the 'long_name' and/or 'units' attribute,
the default behavior for 'gsn_csm_contour_map' is to place the long_name
just above the plot on the left and the units attribute just above the plot
on the right.

You could
[1]
     delete(var at long_name)   ; if present
     delete(var at units)             ;       "

or, set the two resources

[2]   res at gsnLeftString   = ""   ; upper left
       res at gsnRightString = ""   ; upper right

On Fri, Jan 6, 2017 at 5:07 PM, Luis del Castillo <
luis.delcastillo at cathalac.int> wrote:

> Hi everyone I am trying to get my map configured as follows
>
>
>
>
>
>
>
>
> But I don’t want to get the Var description on the top left corner. I try
> a couple of thinks but without no success.
>
> I try to use :
>
> *opts at lbTitleOn = true *
>
> *opts at lbTitleString = “Precipitacion horaria acumulada”*
>
>
>
> *And still the same, then I delete from the script *
>
> *opts at UnitLabel as result my bar label was disappear from the color bar
> and from the top of the image *
>
>
>
> *so right now I have it like this*
>
>
>
> prep_tot at description = "Precipitacion horaria acumulada"
>
> prep_tot at units              = "mm"
>
>
>
> But again I just want this text description on my color bar and not on the
> top of the map
>
>
>
> thanks
>
>
>
> [image: Description: http://www.cathalac.org/firma/format_02a.gif]
>
> *[image: Description: http://www.cathalac.org/firma/logocatha.gif]*
> <http://www.cathalac.org/>
> * Luis Alejandro Del Castillo Riley *
> *Gerente de Tecnologia*
> DIVISIÓN DE TECNOLOGÍAS DE LA INFORMACIÓN Y COMUNICACIÓN
> Tel: 507-317-3235 <(507)%20317-3235>
>
> *Email: **luis.delcastillo at cathalac.int <luis.delcastillo at cathalac.int>*
> <http://www.cathalac.org/>[image: Description:
> http://www.cathalac.org/firma/facebook.png]
> <https://www.facebook.com/cathalac> [image: Description:
> http://www.cathalac.org/firma/twitter.png]
> <http://twitter.com/#!/CATHALAC> [image: Description:
> http://www.cathalac.org/firma/linkindin.png]
> <http://www.linkedin.com/company/2324157> [image: Description:
> http://www.cathalac.org/firma/youtube.png]
> <http://www.youtube.com/user/CATHALACTV>
>
>
>
>
>
> _______________________________________________
> 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/20170106/b4e59c03/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 357 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 240 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3374 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3990 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 329 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 29778 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 629 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 471 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170106/b4e59c03/attachment-0006.png 


More information about the ncl-talk mailing list