Sometimes you need to make a plot or figure bigger on screen. A quick and dirty hack to do that in many cases is to add the single line
subplot ("Position", [0.01 0.01 0.99 0.99]); to the figure.
See the difference between Figure 1 and Figure 2 below. The only difference in code is the addition of the
subplot function call.
xy = [randi(200, 50, 1), randi(100, 50, 1)]; figure (1); fill (xy(:,1), xy(:,2), "b"); axis tight equal off figure (2); subplot ("Position", [0.01 0.01 0.99 0.99]); fill (xy(:,1), xy(:,2), "b"); axis tight equal off
If you leave the axis on, you can see where the axes are in each of the figure windows.
subplot uses that wide margin, which makes the picture bigger without affecting the figure window size.
You can change the input position of the
subplot call to suit your needs.