How to use isosurface in app designer?
7 views (last 30 days)
Show older comments
I am trying to create an app that shows a figure by jusing isosurface when a button is pushed. As i understand when you are going to plot something you just add app.UIAxes into the beginning, but using this on isosurface doesnt work. i.e. isosurface(app.UIaxes,xx,yy,zz,Power_E,max(Power_E(:))*(ratio)). So how do you use isosurface in app designer?
0 Comments
Answers (1)
Ameer Hamza
on 3 Dec 2020
isosurface() surface is quite an old function and does not support these features. According to the documentation, it will just create a new axes object. Use it with patch() as shown in the first example on the documentation page: https://www.mathworks.com/help/matlab/ref/isosurface.html. patch() will allow you to pass app.UIAxes as the first argument.
2 Comments
Ameer Hamza
on 3 Dec 2020
Run the following line after creating the patch
view(app.UIAxes, 3)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!