plotting data in an non orthogonal coordinate system

조회 수: 8 (최근 30일)
Dirk
Dirk 2012년 12월 16일
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