Hi:
is there anyway to use the tight_subplot function in 'invisible' figure?
https://www.mathworks.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw-gap-marg_h-marg_w
I create a invisible figure, but when use 'tight_subplot' function, is will create a new figure every time I run the code, below is the test code:
fig=figure('visible','off');ha= tight_subplot(2,2,[0.11,0.08],0.08,0.08);for i=1:1:4 axes(ha(i)); plot(1:5,1:5)end
Thanks!
Yu
Best Answer