[ncl-talk] How to remove "undefined" from plot?

Manisha Ganeshan manisha.ganeshan86 at gmail.com
Wed Sep 26 13:20:44 MDT 2018


Hi Rick,

Thanks a lot for clarifying. The fix of setting the right string resource
works well for my purposes.

Regards,
Manisha

On Wed, Sep 26, 2018 at 12:57 PM Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi,
> Looking at the hovmueller plots at the examples page:
>
>    http://ncl.ucar.edu/Applications/time_lon.shtml
>
> The upper right label in these examples is the units label. You could
> assign an appropriate attribute to the variable you are plotting (ex:
> myVar at units = "....")  or, I think you can set this plotting resource to
> clear the right labeling altogether:
>
> res at gsnRightString = ""
>
> Hope that helps...
> Rick
>
> On Wed, Sep 26, 2018 at 10:36 AM Manisha Ganeshan <
> manisha.ganeshan86 at gmail.com> wrote:
>
>> Dear NCL'ers,
>>
>> I am plotting hovmoller plots using gsn_csm_hov function for (a) standard
>> reanalyses (MERRA2) variables read from the attached file
>> MERRA2.u700_12N_60W_0W_201409_201410.nc and (b) self-generated variables
>> read from the attached file imf.nc. The scripts used are
>> plot_merra2_input.ncl and plot_merra2_imf.ncl, respectively (attached).
>> For hovmoller figures plotted using my self-created input file, I get
>> "undefined" on the upper right hand corner of the plot. I assume this has
>> to do with undefined metadata or undefined attributes. I don't get any
>> warning or error messages. Could you tell me what "undefined" means? And
>> how to get rid of it while plotting?
>>
>> Regards,
>> Manisha
>>
>>
>>
>> --
>> Dr. Manisha Ganeshan
>> Universities Space Research Association
>> Maryland, U.S.A.
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

-- 
Dr. Manisha Ganeshan
Universities Space Research Association
Maryland, U.S.A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180926/a158d7eb/attachment.html>


More information about the ncl-talk mailing list