Axis change - Is it possible to get the data of the new plot?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have a plot, for example, a surface of a sphere, and I'm changing the axis to view a semi-sphere.
Is it possible to get the data of this new plot?
Thanks
0 Kommentare
Antworten (3)
Azzi Abdelmalek
am 5 Aug. 2016
Bearbeitet: Azzi Abdelmalek
am 5 Aug. 2016
Changing the view will not change your data. If you want to get your data from the plot
plot(1:10)
h=findobj('type','line')
x=get(h,'Xdata')
y=get(h,'Ydata')
2 Kommentare
Thalles Leite
am 22 Aug. 2016
1 Kommentar
Azzi Abdelmalek
am 22 Aug. 2016
This section is used to answer a question. If your original question was answered then mark it as accepted. And post a new question in the section Ask a question
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!