Forgot to mention that the axis that is staying on is located in the StateOfStressElement function in the attached script
GUI panel axis displaying when set to axis off
3 views (last 30 days)
Show older comments
Chase Johnston
on 10 Dec 2018
Answered: Walter Roberson
on 10 Dec 2018
Hello all,
I am working on a project for Mechanics of Materials undergraduate course. For the project I made a GUI that the user inputs the sigma_x, sigma_y, tau_xy, and desired orientation and outputs the calculations, a plot of Mohrs Circle, a plot of the Stress Data as a function of theta, and plots the state of stress elements. For the state of stress elements I have the used the command 'axis off' and it takes the axes off for the first two but for some reason the third one is still there. I am not sure why it is not getting taken off.
Thanks for y'all's help.
Accepted Answer
Walter Roberson
on 10 Dec 2018
Pass the appropriate axis handle to axis off . Do not rely upon the current axes being the one you are interested in.
axes(ax_File4, 'off')
0 Comments
More Answers (0)
See Also
Categories
Find more on Stress and Strain in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!