Matlab App Designer UIAxes 2d Plot
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ethan Brueckner
am 28 Mär. 2022
Kommentiert: Adam Danz
am 30 Mär. 2022
I have a UIAxes plot that populates with the data selected from the checklist on the left. However when the data is selected, the plot takes a 3d view. Is there a way to intialize the UI as a 2d plot, or make sure that the camera is only showing the 2d view?
8 Kommentare
Adam Danz
am 30 Mär. 2022
Sounds like some serious bugs. If you think it's within the Matlab software, please contact technical support.
Akzeptierte Antwort
Kevin Holly
am 29 Mär. 2022
Without knowing what you are plotting, all I can recommend is changing to a 2D view. You can do so as shown below. Note, in App Designer you need to specify the uiaxes in these functions.
figure
scatter3(rand(10),rand(10),rand(10),'.')
view(0,0)
figure
plot3(rand(10),rand(10),rand(10))
view(0,90)
figure
scatter3(rand(10),rand(10),rand(10),'filled')
view(90,90)
figure
surf(rand(10),rand(10),rand(10))
view(90,0)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D 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!