plotting data in an non orthogonal coordinate system

6 次查看(过去 30 天)
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 个评论
José-Luis
José-Luis 2012-12-16
编辑:José-Luis 2012-12-16
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.

请先登录,再进行评论。

回答(2 个)

Dirk
Dirk 2012-12-16
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 2012-12-20
Is there a possibility to do this?
Thans in advance

类别

Help CenterFile Exchange 中查找有关 Geographic Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by