필터 지우기
필터 지우기

How to save generated plot/image to GUI?

조회 수: 1 (최근 30일)
pratibha rane
pratibha rane 2013년 6월 21일
figure;
axis off;
hold on;
for l = 1:16
[lr lc] = ind2sub([4, 4], l);
subplot(4,4,l);
axis off;
%imagesc(reshape(w(:,l),30,30));%the imagesc function scales image data to the full range of the current colormap and displays the image.
load clown
clims = [10 60];
h=imagesc(reshape(w(:,l),30,30),clims);
colormap(gray)
axis off;
end
I want to save plot/image generated to the axes on another GUI. How to do it ...please help me..thanks

답변 (1개)

Image Analyst
Image Analyst 2013년 6월 23일
Just do the same lines of code in your other GUI. Why aren't you using a single GUI anyway - it would be much simpler than having different floating GUIs which can become obscured by other windows.

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by