From: Assaf Weinstein on 11 Jul 2010 10:00 Hi, Is there a way to specify the window size of a figure when I save it? (so that when I open it, it will retain the window size) Thakn you, Asaf
From: Serdar Tombul on 11 Jul 2010 10:21 Open your figure window with Position and sizing options like below. figure('Position',[0 0 550 200]);ezplot('sin(x)',[-pi pi]); When you save it and open it again, it will preserve its size and the position where you closed it. Serdar Tombul.
From: Image Analyst on 11 Jul 2010 10:40 You can use export_fig(): http://www.mathworks.com/matlabcentral/fileexchange/?term=author%3Awoodford
From: Assaf Weinstein on 11 Jul 2010 14:18 "Serdar Tombul" <no_mail(a)yahoo.com> wrote in message <i1ck0h$e4q$1(a)fred.mathworks.com>... > Open your figure window with Position and sizing options like below. > > figure('Position',[0 0 550 200]);ezplot('sin(x)',[-pi pi]); > > When you save it and open it again, it will preserve its size and the position where you closed it. > > Serdar Tombul. --Thanks a lot! but how do I apply it to an existing figure that I have (which is saved as a .fig)?.. Thank you, asaf
From: Jan Simon on 11 Jul 2010 16:03 Dear Assaf, > --Thanks a lot! but how do I apply it to an existing figure that I have (which is saved as a .fig)?.. Open figure, apply changes (e.g. set position), save figure. Or what about an adjusted opener function for figures: function H = OpenFigure(FigFile, Position) H = openfug(FigFile, 'invisible'); set(H, 'Position', Position, 'Visible', 'on'); drawnow; return; Good luck, Jan
|
Next
|
Last
Pages: 1 2 Prev: Plotting Matlab figures on the Server Next: 3rd differentiation for Cfit object |