On Oct 6, 2010, at 6:30 PM, Justin Peter wrote:
Dear R-help,
I have a matrix of data values specified in polar coordinates, i.e.
(r,theta).
I know that I can transform this image to Cartesian coordinates and
then use image to display the results, however, I want to display
the image as is, without any coordinate transformations. This would
require displaying individual "pieces of pie" colour-coded by their
data value.
A comparable plotting routine in Matlab would be pcolor (which
doesn't require a regular grid) or the use of polyfill in IDL to
fill each polygon.
Does anyone know of a package that could help me out? Any help
appreciated.
ggplot2 has coord_polar.
Regards,
Justin Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Justin Peter
Research Scientist
Earth System Modelling and Radar Applications Group
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.