How can I adjuste the resolution of a .png in an axes environment using GUIDE?

1 view (last 30 days)
Hi everyone
at the moment, I am designing and implementing a GUI using the GUIDE interface. In the GUI, I need to show a graph I have named example.png . I did this by dragging an axes to the location where I want to place the picture and then went to the according CreateFcn and inserted the following:
if true
axes(hObject);
imshow('example.png');
end
I can run the GUI without any problems and it shows the right picture - the resolution, however, looks like MarioKart on the N64, barely identifiable. Does anyone have an idea on how to change that?
Thanks in advance!
Best, Andreas

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!