plotting data in an non orthogonal coordinate system

6 views (last 30 days)
Hi
I plotted the result of a function f(x,y) on each point of a hypar surface z = k*x*y.
Is there a possibility to plot the hypar surface in a non orthogonal coordinate system, with a corner between x and y not equal to 90°. But with the z-axis still perpenidular to the x-y plane.
Is it possible with 'patch' or something?
Thanks in advance.
  1 Comment
José-Luis
José-Luis on 16 Dec 2012
Edited: José-Luis on 16 Dec 2012
Not trying to be facetious, but why do you want to do that? You could hide the orthogonal axes, create some custom ones (only for visualization), transform your data and plot it again. Sort of like this.

Sign in to comment.

Answers (2)

Dirk
Dirk on 16 Dec 2012
first of all, i want to plot the hypar containing z points z = k*x2*y2 with x2 axis en y2 axis making an random corner omega...ie. 120°. So the z points are calculated on a non orthogonal grid of points (x2,y2).
x = x2*cosd(alpha) - y2*sind(alpha) y = y2*cosd(alpha) - x2*sind(alpha)
with omega = 90° + alpha + alpha
Is there a possibility to do this?

Dirk
Dirk on 20 Dec 2012
Is there a possibility to do this?
Thans in advance

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!