Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
19
Добавлен:
09.02.2015
Размер:
281.6 Кб
Скачать

matlab\graphics – Дескрипторные графики

Figure window creation and control

<figure> - Create figure window.

FIGURE Create figure window.

FIGURE, by itself, creates a new figure window, and returns

Its handle.

FIGURE(H) makes H the current figure, forces it to become visible,

and raises it above all other figures on the screen. If Figure H

does not exist, and H is an integer, a new figure is created with

handle H.

GCF returns the handle to the current figure.

Execute GET(H) to see a list of figure properties and

their current values. Execute SET(H) to see a list of figure

properties and their possible values.

See also subplot, axes, gcf, clf.

Reference page in Help browser

doc figure

<gcf> - Get handle to current figure.

GCF Get handle to current figure.

H = GCF returns the handle of the current figure. The current

figure is the window into which graphics commands like PLOT,

TITLE, SURF, etc. will draw.

The handle of the current figure is stored in the root

property CurrentFigure, and can be queried directly using GET,

and modified using FIGURE or SET.

Clicking on uimenus and uicontrols contained within a figure,

or clicking on the drawing area of a figure cause that

figure to become current.

The current figure is not necessarily the frontmost figure on

the screen.

GCF should not be relied upon during callbacks to obtain the

handle of the figure whose callback is executing - use GCBO

for that purpose.

See also figure, close, clf, gca, gcbo, gco, gcbf.

Reference page in Help browser

doc gcf

<clf> - Clear current figure.

CLF Clear current figure.

CLF deletes all children of the current figure with visible handles.

CLF RESET deletes all children (including ones with hidden

handles) and also resets all figure properties, except Position,

Units, PaperPosition and PaperUnits, to their default values.

CLF(FIG) or CLF(FIG,'RESET') clears the single figure with handle FIG.

FIG_H = CLF(...) returns the handle of the figure.

See also cla, reset, hold.

Reference page in Help browser

doc clf

<shg> - Show graph window.

SHG Show graph window.

SHG brings the current figure window forward.

Reference page in Help browser

doc shg

<close> - Close figure.

CLOSE Close figure.

CLOSE(H) closes the window with handle H.

CLOSE, by itself, closes the current figure window.

CLOSE('name') closes the named window.

CLOSE ALL closes all the open figure windows.

CLOSE ALL HIDDEN closes hidden windows as well.

STATUS = CLOSE(...) returns 1 if the specified windows were closed

and 0 otherwise.

See also delete.

Overloaded methods:

serial/close

ftp/close

avifile/close

instrument/close

vdspdebug/close

resultset/close

database/close

cursor/close

yahoo/close

reuters/close

rdth/close

kx/close

idc/close

haver/close

fred/close

factset/close

datastream/close

blp/close

bloomberg/close

eclipseide/close

ghsmulti/close

icdevice/close

mdevproject/close

cgproject/close

vrworld/close

vrspacemouse/close

vrjoystick/close

vrfigure/close

ccsrtdx/close

ccsdebug/close

Reference page in Help browser

doc close

<refresh> - Refresh figure.

REFRESH Refresh figure.

REFRESH causes the current figure window to be redrawn.

REFRESH(FIG) causes the figure FIG to be redrawn.

Overloaded methods:

dagroup/refresh

ccsrtdx/refresh

Reference page in Help browser

doc refresh

<refreshdata> - Refresh data in plot

REFRESHDATA Refresh data in plot

REFRESHDATA evaluates any data source properties in the

plots in the current figure and sets the corresponding data

properties of each plot.

REFRESHDATA(FIG) refreshes the data in figure FIG.

REFRESHDATA(H) for a vector of handles H refreshes the data of

the objects specified in H or the children of those

objects. Therefore, H can contain figure, axes, or plot object

handles.

REFRESHDATA(H,WS) evaluates the data source properties in the

workspace WS. WS can be 'caller' or 'base'. The default

workspace is 'base'.

Reference page in Help browser

doc refreshdata

<openfig> - Open new copy or raise existing copy of saved figure.

OPENFIG Open new copy or raise existing copy of saved figure.

OPENFIG('NAME.FIG','new') opens figure contained in .fig file,

NAME.FIG, and ensures it is completely on screen. Specifying the

.fig extension is optional. Specifying the full path is optional

as long as the .fig file is on the MATLAB path.

If the .fig file contains an invisible figure, OPENFIG returns

its handle and leaves it invisible. The caller should make the

figure visible when appropriate.

OPENFIG('NAME.FIG') is the same as OPENFIG('NAME.FIG','new').

OPENFIG('NAME.FIG','reuse') opens figure contained in .fig file

only if a copy is not currently open, otherwise ensures existing

copy is still completely on screen. If the existing copy is

visible, it is also raised above all other windows.

OPENFIG(...,'invisible') opens as above, forcing figure invisible.

OPENFIG(...,'visible') opens as above, forcing figure visible.

F = OPENFIG(...) returns the handle to the figure.

See also: open, movegui, guide, guihandles, save, saveas.

Reference page in Help browser

doc openfig

Соседние файлы в папке Библиотеки Matlab