I am running a loop iloop = 1:23 and plotting data 23 times on a scatter plot. This job is currently running on a cluster so I can't have the gui open and I have set figure('Visible','off'). When I use this with 'hold on' only the last iteration of loop is plotted. How can I keep my figure visible but still retain the hold for 1:23?
5 Comments
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519683
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519683
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519697
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519697
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519698
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519698
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519723
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519723
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519733
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/374681-how-to-hold-on-with-visible-off-for-plots#comment_519733
Sign in to comment.