28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

openfig<br />

2openfig<br />

Purpose Open new copy or raise existing copy of saved figure<br />

Syntax openfig('filename.fig','new')<br />

openfig('filename.fig','reuse')<br />

openfig('filename.fig')<br />

openfig('filename.fig','new','invisible')<br />

openfig('filename.fig','new','visible')<br />

figure_handle = openfig(...)<br />

Description openfig is designed for use with GUI figures. Use this function to:<br />

2-1578<br />

Open the FIG-file creating the GUI and ensure it is displayed on screen. This<br />

provides compatibility with different screen sizes and resolutions.<br />

Control whether MATLAB displays one or multiple instances of the GUI at<br />

any given time.<br />

Return the handle of the figure created, which is typically hidden for GUIs<br />

figures.<br />

openfig('filename.fig','new') opens the figure contained in the FIG-file,<br />

filename.fig, and ensures it is visible and positioned completely on screen.<br />

You do not have to specify the full path to the FIG-file as long as it is on your<br />

MATLAB path. The .fig extension is optional.<br />

openfig('filename.fig','new','invisible') or<br />

openfig('filename.fig','reuse','invisible') opens the figure as in the<br />

preceding example, while forcing the figure to be invisible.<br />

openfig('filename.fig','new','visible') or<br />

openfig('filename.fig','new','visible') opens the figure, while forcing<br />

the figure to be visible.<br />

openfig('filename.fig','reuse') opens the figure contained in the FIG-file<br />

only if a copy is not currently open; otherwise openfig brings the existing copy<br />

forward, making sure it is still visible and completely on screen.<br />

openfig('filename.fig') is the same as openfig('filename.fig','new').<br />

openfig(...,'PropertyName',PropertyValue,...) opens the FIG-file<br />

setting the specified figure properties before displaying the figure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!