[ncl-talk] Label a polyline
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Fri Jul 10 13:26:08 MDT 2015
Hi Wei,
you can do this with the gsLineLabelString resource:
res at gsLineLabelString= "test" ; adds a line label string „test"
Take a look at the example polyg_4.ncl at http://www.ncl.ucar.edu/Applications/polyg.shtml
Bye,
Karin
> Am 10.07.2015 um 20:58 schrieb Wei Huang <whuang at univ-wea.com>:
>
> Here I mean this email to our friendly ncl users.
>
> At first I want to send to Mary and Dave personally, but I remembered
> That Mary is out of town, and probably Dave as well.
>
> Wei Huang
>
>
> -----Original Message-----
> From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Wei Huang
> Sent: Friday, July 10, 2015 1:53 PM
> To: ncl-talk at ucar.edu
> Subject: [ncl-talk] Label a polyline
>
> Mary and Dave,
>
> In example: https://www.ncl.ucar.edu/Applications/Scripts/xy_14.ncl
> Where we can draw a line and label it:
>
> If I have a isoline info, (lat, lon) info, I can draw a polyline:
>
> plines(n) = gsn_add_polyline(wks, plot, lon, lat, res)
>
> If I know the value of the above isoline/polyline, How can I add a label similar to xy_14 to this polyline?
>
> Or how can I get the similar labeled line?
>
> Thanks,
>
> Wei Huang
> whuang at univ-wea.com
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> 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/20150710/953a7a38/attachment.html
More information about the ncl-talk
mailing list