how can i get the data from 3D graph? xyz

10 visualizzazioni (ultimi 30 giorni)
  3 Commenti
alef imran
alef imran il 13 Apr 2016
yeah im starting from a single image and its already extract. right know im stuck on finding the value of this graph
Azzi Abdelmalek
Azzi Abdelmalek il 13 Apr 2016
what is the extension of your file?

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 13 Apr 2016
It is not going to work very well: your data is too close together and there is too much overlap.
  2 Commenti
Asrith Pyla
Asrith Pyla il 27 Mar 2020
Mr. Walter Robinson
I have an image stored from Matlab. It is of a 3D plot. I have to extract the z data from this plot.
How to do this ?
Walter Roberson
Walter Roberson il 27 Mar 2020
My response would be the same: you can use any of those contributions from the File Exchange, but you are not likely to get a good result. The hidden surface is going to cause you problems.

Accedi per commentare.

Più risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 13 Apr 2016
%-----Example------------
x=1:100
y=1:100
[X,Y]=meshgrid(x,y)
Z=sin(X).^2+cos(Y).^2
mesh(X,Y,Z)
%-------------------
ch=get(gca,'children')
X=get(ch,'Xdata')
Y=get(ch,'Ydata')
Z=get(ch,'Zdata')

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by