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!