Skip to content
Prev 60081 / 398502 Next

plotting data in non-orthogonal coords.

Am Dienstag, 30. November 2004 10:26 schrieb Petr Pikal:
Hi !
Thanks for replying to my post and sorry for not being specific enough.
Maybe I am the one who didnt get the point , but as far as I understand R 
plots filled.contour(x,y,z,...) in the following way:

x,y define a grid in cartesian coords, i.e. the angle between x and y is 90??. 
So if I have data on such a grid I am fine.
My data is on an equally spaced grid in a coordsystem where x and y are at an 
angle of 60??. If you transform into cartesiancoords this isnt an equally 
spaced grid anymore.  You could interpret it as an equally spaced grid on 
which there is only data given on every second grid point.

It would be nice if one could just plot data given as F(x,y) where you supply 
x and y for every data point seperatly so that you dont need any specific 
grid.

I hope that someone can help.
Thanks in advance. Andreas