Azzera filtri
Azzera filtri

3D graphic plot

1 visualizzazione (ultimi 30 giorni)
agung pratama
agung pratama il 16 Lug 2020
Modificato: agung pratama il 23 Lug 2020
Hello guys, if I have a 3D graph what I can do to measure the high of the graphic. Here's the graphic that I mean..

Risposte (1)

Arthur Roué
Arthur Roué il 16 Lug 2020
Modificato: Arthur Roué il 16 Lug 2020
You can look for the surface handle in the axis children.
% Get current axe handle
hAxe = gca;
% Look for surface handle
vb = isa(hAxe.Children, 'matlab.graphics.chart.primitive.Surface')
hSurface = hAxe.Children(vb)
% Get values in surface properties
hSurface.XData
hSurface.YData
hSurface.ZData
EDIT : I assumed there is only one surface in this plot
  18 Commenti
Bruno Luong
Bruno Luong il 23 Lug 2020
Sorry I won't, since depends where you start at (type of image data, and you never explain us clearly what is it, your gave a color map, then a bananas, something about RGB, then a curve, then a fringe signal) and there might be many step more or less complex and requires some skill (for example compute the phase phi) to arrive at the heigh from the rawdata image of your fringes.
I gave you a general steps that must be carried out. If it's not clear, you should teach yourself or ask questions to your advisor, or whom ever gave you the task.
agung pratama
agung pratama il 23 Lug 2020
Thank you, Mr Luong, for your time and your attention. I'm a newbie in Matlab, perhaps I should learn more and more.

Accedi per commentare.

Categorie

Scopri di più su Graphics Object Properties 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