[ncl-talk] Help on a figure in polar coordinate
Alan Brammer
abrammer at albany.edu
Mon Jun 29 10:14:51 MDT 2015
If you're plotting all the red markers at once and all the blue markers at
once. I would have assumed you can just switch gsn_add_polymarker() to
gsn_add_polyline().
You'd have to repeat the 0th index so the line joins up, or you could try
gsn_add_polygon() and set the resources to only plot the outline of the
shape. I think that function would then join up the ends on it's own.
If you're struggling with it. Send the script so far to the list. If I
have a moment I'll take a look, or maybe someone else will see a solution.
On Mon, Jun 29, 2015 at 11:44 AM, Appo derbetini <appopson4 at gmail.com>
wrote:
> Dear Allan,
>
> Thank's for your help.
>
> This is what I am producing with what you suggest.
> But, after "hard fighting" with Example 3, I am still unable to add line
> between markers.
>
> Any suggestion?
>
> Regards,
>
> Appolinaire
>
> 2015-06-26 20:17 GMT+01:00 Alan Brammer <abrammer at albany.edu>:
>
>> Others may have a better response but I have had success adapting the
>> radar plot functions from radar example 3 to achieve results along these
>> lines.
>>
>> The functions at the below link will get you pretty close, you'll just
>> need to edit add_markers_to_radial_plot() to add lines instead. Converting
>> to the radial coordinates cartesian is the trick and the necessary code is
>> there and should be straight forward to adapt.
>>
>>
>> https://www.ncl.ucar.edu/Applications/Scripts/radar_3.ncl
>>
>> Good luck.
>>
>> Alan.
>>
>> On Fri, Jun 26, 2015 at 11:19 AM, Appo derbetini <appopson4 at gmail.com>
>> wrote:
>>
>>> Dear NCL users,
>>>
>>> There is a way to plot such figure in NCL?
>>>
>>> Regards
>>>
>>> _______________________________________________
>>> 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/20150629/b3a4744c/attachment.html
More information about the ncl-talk
mailing list