I believe the latter for base R, as the standard contour plotting depends on internal (fortran, I think) code that works only for rectangular coordinates.Should be only a few lines of fiddling though (exercise left to reader).
Try RSiteSearch("polar coordinates", restr="func") to see what might be available in packages if fiddling doesn't suit. -- Bert Gunter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todor Kondic Sent: Tuesday, December 09, 2008 3:19 PM To: r-help@r-project.org Subject: [R] Polar coordinates - contour plots Hello, I have data for contour plot which is given in polar coordinates. Is there a straightforward way to plot in polar coordinates in R, or do i need to fiddle with transformations and then to sort the x and y vectors to be in ascending order as required by contour function and relatives? Cheers, Todor ______________________________________________ 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. ______________________________________________ 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.