Re: XY plot in polar coordinates

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 17 2011 - 14:44:25 MST

Chris,

You can create a plot like this with NCL. See the attached script and PNG file, where I used dummy data over a polar map plot.

I will try to create an example soon without having to use a polar map and lat/lon values. Do you have a sample of the type of labels you want?

--Mary

Do you have a sOn Feb 17, 2011, at 1:19 PM, Chris Fletcher wrote:

> Hi Mary
>
> Thanks for pointing out this example. It is getting towards what I need, although I would ultimately like the plot to look more like this:
> http://matplotlib.sourceforge.net/_images/polar_scatter.png
> with all the appropriate labels and radial grid lines etc.
>
> Unfortunately, I am not experienced enough with NCL to know if there is a simple way (e.g. using appropriate resources) to go from radar_3.ncl to something like the above? Alternatively, perhaps one could modify the Taylor Diagram script to achieve something similar?
>
> Thanks
> Chris
>
> On 16-02-2011, at 3:01 PM, Mary Haley wrote:
>
>> Hi Chris,
>>
>> We have one example on our "radar" page showing how to do a contour plot:<radar.png>
>>
>> http://www.ncl.ucar.edu/Applications/radar.shtml
>>
>> I took this example and created something that does an XY plot with markers, although it's rather goofy looking because I colored the values based on random ranges. Also, there are a lot of points which tend to overlap. You can control this kind of thing by subscripting your data so not every point is plotting, or you can change the size of your markers (which is what I did here, but still had overlap).
>>
>> Is this what you had in mind?
>>
>> --Mary
>>
>>
>> On Feb 15, 2011, at 5:24 PM, Chris Fletcher wrote:
>>
>>> I am trying to make an XY plot in polar coordinates (r,theta space) and I was wondering how to do this in NCL? Perhaps there is some way to achieve this by combining gsn_csm_map_polar (without plotting the map) and gsn_add_polymarker?
>>>
>>> (Apologies if this has been covered elsewhere; I found some previous NCL help posts from 2003 where others were asking about this, but I couldn't see anything more recent).
>>>
>>> Thanks
>>> Chris
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

mappoints.png
Received on Thu Feb 17 14:44:37 2011

This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST