Polar contour plot
baroques_solari
A simple question: how to create a polar contour plot? Just like this one (I randomly grabbed from google):
http://www.google.com.hk/imgres?q=polar+contour+plot&um=1&hl=en&safe=ac…
Thanks for your time!
The tricky part is generating the image, and that depends on what form your data is in.
The trick is to create a rectangular image and then set the parts outside of the circle to NaN (transparent).
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
November 17, 2011 at 11:20 am - Permalink
Although not very perfect, but I kind of nailed this problem. Just simply convert the data (which are supposed to plot into polar graph and do the contour thing) into xy coordinate system, then use the contour function. Of course in they way the contour graph (img) is "rectangular", and we would have to cut out the edge and make it look like "circular" as if it were in a polar coordinate system (just like you mentioned). A demo is shown here.
[img]20. Windrose.png[/img]
I know it's ugly, and to be honest, it looks a little bit weird. This is probably because the igor contour function is originally designed for making figures in xy coordinate system. If it were "projected" onto a polar coordinate system, it may look deformed.
Nevertheless, it's better than nothing, and pretty simple :)
November 18, 2011 at 08:15 am - Permalink
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
November 18, 2011 at 11:58 am - Permalink