Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set the window size of a plot window?

Tags:

People also ask

How do you measure a window size?

Place a tape measure horizontally between the inside jamb on the left and the right. Close the window and make a similar measurement from jamb to jamb near the middle of the window. Measure the distance between the jambs at the top of the window. Record the shortest measurement.

How do I make the window bigger in MATLAB?

To maximize the figure window in Windows, you can use the attached function. Otherwise you can also use code like this, to take up most of the screen except for the task bar at the bottom. % Enlarge figure to full screen. set(gcf, 'Units', 'Normalized', 'OuterPosition', [0, 0.04, 1, 0.96]);

How do I change the default figure size in MATLAB?

As explained in the documentation, to change the default figure units and position, set the respective properties like this: set(0, 'defaultFigureUnits', 'centimeters', 'defaultFigurePosition', [0 0 8.86 7.8]);


Is it possible to set the window size / position of a plot window (figure)?

plot(0:20, sin(0:20))

Or is there any other possibility to change the size of the print() command?

print('aa.png', '-dpng')

Because the -Sxsize,ysize parameter doesn't change anything. The size of the written picture (aa.png) has always the same size as the plot window.

I'm using Octave 3.0.