Created
October 2, 2015 08:40
-
-
Save markuman/7ef3394404ef24baf550 to your computer and use it in GitHub Desktop.
multiple silent/invisible plots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% multiple silent/invisible plots | |
a = figure; | |
set(a,'visible','off'); | |
x=0:0.1:2*pi; | |
for i = 2:4; | |
plot(x,sin(i*x)); | |
print("-djpeg", strcat(sprintf("%03d", i-1), ".jpg")); | |
set(a,'visible','off'); | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment