2D plot of 3D data

1 回表示 (過去 30 日間)
Bran
Bran 2013 年 1 月 14 日
Hi there,
I'm not sure how best to go about making a 2D plot of my 3D data. I have calculated FFT of samples at points in the x,y and z axes but I would like to use surf() to plot this information as a 2D surface plot in spherical coordinates theta and phi, how best can I go about this??
Many thanks in advance Bran

採用された回答

José-Luis
José-Luis 2013 年 1 月 14 日
Maybe slice() is what you are looking for?
  4 件のコメント
Bran
Bran 2013 年 1 月 15 日
AHHH yes of course! I remember now! THANK YOU! :)
Bran
Bran 2013 年 1 月 16 日
Hey jose, so sorry to be bothering you again, but I am trying to indeed use the slice function for my data as it seems to be the only way to display volume information; I have x = [-7:1:9] y = [-7:1:9] z = [-7:1:9]
v = FFT and I wish to take several slices across the z acces ie; zslice = [0, 5, 9]
but the command slice(x,y,z,v,xslice,yslice,zslice)
is throwing up several errors any idea what might be wrong??
Many thanks :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by