Can we show an image in its original size in MATLAB?

Right now when we are showing, it is exactly fitted to the image window size. However, I want to show the image in its original size. When the image is of larger size, a scroll bar should appear in the image window. This would allow the user to view the image in its original size. 

Any ideas on how to achieve this? Is this possible?
['https://Stackoverflow.com/questions/1427602', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']
Matlab slider has a problem that it fires callback only on MouseUp and not on MouseMove, so pure matlab implementation would always feels strange.

Better way - go for Java in Matlab. So you do not have to re-implement whole scroll logics. You can put Java Swing GUI component inside Matlab window, it is not difficult at all.

Specifically you have to use Swing `JScrollPane` Class. With Matlab `javacomponent()` function you can put it inside matlab window.

There are tons of examples on the web on how to get image into scroll pane, just browse for `JScrollPane image`. You can use Java classes inside matlab with usual Matlab syntax (no need for `new` keyword, ecc.)
Funny, nobody here has mentioned [`truesize`](https://www.mathworks.com/help/images/ref/truesize.html) yet:

> 
> `truesize(fig)` adjusts the display size such that each image pixel covers one screen pixel. If you do not specify a figure, `truesize` adjusts the display size of the current figure.
> 
> 
>