Thread Subject:
contourf and contour from polar coordinates

Subject: contourf and contour from polar coordinates

From: Rafael

Date: 14 Aug, 2012 12:29:06

Message: 1 of 3

hi guys,

i have recently come across data that I transformed from polar coordinates into an eucledian system. However, I am having issues with contourf and contour that i have never experienced before:

a.) somehow the contourf plot does not show any colours unless it is slightly rotated; does anybody have an idea why that is the case? (example images are here: http://i1195.photobucket.com/albums/aa382/rtaker/contourf_NotWorking.png not working and http://i1195.photobucket.com/albums/aa382/rtaker/contourf_rotated.png for slightly rotated (in the direct view in matlab the whole thing is coloured)

b.) using contour with about 1500 lines gives a neater result http://i1195.photobucket.com/albums/aa382/rtaker/contour1500.png However, I am wondering why the white triangulation (?) seem not decrease even though they are close to data-points as shown here: http://i1195.photobucket.com/albums/aa382/rtaker/contour1500_withDataPoints.png (the 'o' show the data points that are available).

Is there any advice you can give me? Ideally I would like to have a plot similar to this http://stackoverflow.com/questions/10856882/r-interpolated-polar-contour-plot in R or origin.

Hope someone can help me out.
Best regards

Subject: contourf and contour from polar coordinates

From: Rafael

Date: 17 Aug, 2012 09:30:08

Message: 2 of 3

noone an ideas why things go wrong?

Subject: contourf and contour from polar coordinates

From: TideMan

Date: 17 Aug, 2012 21:17:38

Message: 3 of 3

On Friday, August 17, 2012 9:30:08 PM UTC+12, Rafael wrote:
> noone an ideas why things go wrong?

Have you seen this:
http://www.mathworks.com/matlabcentral/fileexchange/14826-polar-contour-plot

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us