Figure looks small and zoomed out
18 views (last 30 days)
Show older comments
Doing some work with matrices and when showing the matrix as an image using imshow on a figure it looks small and zoomed out.
Code:
close all
clear all
clc
Z = zeros(9,20);
Z(2, :) = 8;
Z(:, 4) = 5;
Z(end-3:end, end-3:end) = 3;
Z(8, linspace(2, end, 10)) = 4;
figure
imshow(Z)
This is what my figure looks like:
How do I make the figure larger and zoomed in than it currently is. Also if possible, to make it default for matlab.
If this helps the resolution of my laptop is 3840 x 2160
0 Comments
Answers (2)
Les Beckham
on 17 Mar 2017
You have defined an image that is only 9x20 pixels. How big would you expect that to be (especially on your high resolution display)?
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!