I want to display the image in a UIaxes , but the error is:
Expected input number 2, PARAM, to match one of these values:
Colormap', 'DisplayRange', 'InitialMagnification', 'XData', 'YData',
'Parent', 'Border', 'Reduce'
The input, '2', did not match any of the valid values.
a = fix(num_int/2);
for i = 1 : num_int
RMSE_map2 = RMSE(:,:,i);
RMSE_map2(~im_kidneys(:,:,i)) = NaN;
figure,imagesc(RMSE_map2,[0 0.8])
colormap jet
colorbar
saveas(gcf,[dir_name3,'RMSE_slice_',int2str(i),'.jpg'], 'jpeg');
end
imshow('RMSE_slice_',int2str(a),'jpeg','Parent', app.UIAxes);
How can i modify this code?
1 Comment
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/496265-display-an-image-in-a-uiaxes-matlab-app-designer#comment_778382
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/496265-display-an-image-in-a-uiaxes-matlab-app-designer#comment_778382
Sign in to comment.