Anyone know a matlab command to maximize the figure plot? A lot of time when we do a plot, the y-axis is not clear but we will manually click the miximize button on the upper right hand side of the plot. This will increase the resolution of the plot. I know we can zoom in or out, but this is not what I want. I tried to keep the same resolution without using further zoom command and maximize it and save it to jpg file format, and this needs to be automatically, rather than plot it and click maximize button, then save it.