[ncl-talk] Regarding annotation

swati shewale shewaleswati16 at gmail.com
Tue Dec 5 00:00:21 MST 2017


Thanks a lot Mary for quick response. I did download text file provided in
link before running annotation_5.ncl. Actually to see values of lons in
print statement, I removed minus sign from below statement that leads to
blank plot (this I rectify while comparing with your script, thanks for
your time). If text file includes all positive lons, why here used minus?
  lons       = -tofloat(str_get_field(data,3," "))

Also what 22 signifies in below statement

   city_state = str_get_cols(data,22,-1)

On Mon, Dec 4, 2017 at 9:32 PM, Mary Haley <haley at ucar.edu> wrote:

> This example works with NCL V6.2.0 (I just verified this). However, I
> still highly recommend that you upgrade. V6.2.0 is 3.5 years old.
>
> Did you modify annotate_5.ncl at all?  I've attached a version that loops
> through each city and plots each text string and marker one at a time, just
> in case.
>
> This method is NOT recommended as it is slower and more memory intensive.
>
> If this continues to not work for you, then please include the full script
> and the annotate5.txt file you are using, so we can be sure something else
> isn't going on.
>
> --Mary
>
>
> On Mon, Dec 4, 2017 at 3:48 AM, swati shewale <shewaleswati16 at gmail.com>
> wrote:
>
>> Dear NCL users
>>
>> I wish to add annotations to my plot. I gone through below link.
>>
>> https://www.ncl.ucar.edu/Applications/annotate.shtml
>>
>> for time being I took example 5 (annotate_5.ncl
>> <https://www.ncl.ucar.edu/Applications/Scripts/annotate_5.ncl>) as it
>> is, It gives me plot without annotation (attached here). Is it because my
>> NCL version is 6.2.0?
>>
>>
>> _______________________________________________
>> 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/20171205/49b8a2af/attachment.html>


More information about the ncl-talk mailing list