Helo with image resize when zooming in

2 次查看(过去 30 天)
Hello, thanks for looking at this,
I was hoping to get some advice with a problem I have: when I try to set the cdata of a new image I plotted with imshow, the image appears to be in a corner, small and not using the full extent of the axes position. I have uploaded a gif of what happens. Sorry for the slower gif
The positions of the axes doesn't change, but as I look at it I find some unusual things happening. I have some axes in a UI I made, and the positions I set using normalized coordinates. The position I set manually, and when it plots, I got an unusual outerposition (negative x and y, with a width and height outside the bounds of the screen). Is this normal? Even when I imshow the original image, the image isn't plotted over the original axes's entire extent of its position, but it's never this bad.
I'm not sure why it does this, can anyone give me some advice?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by