Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Seek help to plot and save all figure components properly in "figure invisible" mode
1 回表示 (過去 30 日間)
古いコメントを表示
Hi Matlab Experts, I am making multiplots using subplot (4 subplots) commands and figure handles in loop. I am plotting three images (using imshow and using titles) and one graph in 4 subplots. Each time figure was popping in. So I used in beginning of that figure definition :
h1 = figure();
set(gcf,'Visible', 'off');
followed by subplot commands somethign like this: .
subplot(2,3,1)........
subplot(2,3,2).......
subplot(2,3,3)...........
%4th subplot starts here:
subplot(2,3,[4 6]); plot(x1,y1, x2,y2,x3,y3);
title('XYZ4');
xlabel('bla bla1'); ylabel('bla bla2');
legend('bla bla');
followed by saving command to save image....
This makes figure invisible and does not show any error. The saved image shows first three subplots correctly and also shows legend and graph of fourth one. However that has taken away the title and x,y lables and axis of 4th subplot. while surprisingly titles of first there subplots and legend of fourth subplot are coming correctly.
I tried setting axes :
set(gca,'Visible', 'off');
even that didn't work.
Can some expert help please. I need this urgently to proceed further.
Thanks a Ton in advance for the right answer :)
2 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!