How to keep figures from appearing?

1 view (last 30 days)
PromoCodeBSJ
PromoCodeBSJ on 2 Oct 2018
Answered: Image Analyst on 9 Oct 2018
I tried using: set(0,'DefaultFigureVisible','off') but it did not turn off the graphs that are generated from my code. I can use set(gcf,'Visible','off'), but this does not help too much because it turns off the graph after it has been made.

Answers (1)

Image Analyst
Image Analyst on 9 Oct 2018
Hiding axes does not hide everything on the axes. You'd have to hide all the child components on the axes individually. You can put the axes into a panel if you want to hide the whole thing in one shot by hiding the panel.

Categories

Find more on 2-D and 3-D Plots 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!