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

Is the figure, the figure is returned.

When no callbacks are executing, GCBF returns []. If the current figure

gets deleted during callback execution, GCBF returns [].

The return value of GCBF is identical to the FIGURE output argument of

GCBO.

See also gcbo, gco, gcf, gca.

Reference page in Help browser

doc gcbf

<drawnow> - Flush pending graphics events.

DRAWNOW Flush pending graphics events.

DRAWNOW "flushes the event queue" and updates the figure window.

DRAWNOW causes figure windows and their children to update and

flushes the system event queue. Any callbacks generated by incoming

events - e.g. mouse or key events - will be dispatched before

DRAWNOW returns.

DRAWNOW('EXPOSE') causes only graphics objects to refresh, if

needed. It does not allow callbacks to execute and does not

process other events in the queue.

DRAWNOW('UPDATE') causes only non-graphics objects to refresh, if

needed. It does not allow callbacks to execute and does not

process other events in the queue.

DRAWNOW is called implicitly upon returning to the MATLAB prompt and

when executing the following functions:

figure

getframe

ginput

input

keyboard

pause

waitfor

waitforbuttonpress

See also pause, getframe, figure, waitfor, waitforbuttonpress, ginput

Reference page in Help browser

doc drawnow

<findobj> - Find objects with specified property values.

FINDOBJ Find objects with specified property values.

H = FINDOBJ('P1Name',P1Value,...) returns the handles of the

objects at the root level and below whose property values

match those passed as param-value pairs to the FINDOBJ

command.

H = FINDOBJ(ObjectHandles, 'P1Name', P1Value,...) restricts

the search to the objects listed in ObjectHandles and their

descendents.

H = FINDOBJ(ObjectHandles, 'flat', 'P1Name', P1Value,...)

restricts the search only to the objects listed in

ObjectHandles. Their descendents are not searched.

H = FINDOBJ(ObjectHandles, '-depth', d,...) specifies the

depth of the search. It controls how many levels under the

handles in ObjectHandles are traversed. Specifying d=0 gets

the same behavior as using the 'flat' argument. Specifying

d=inf gets the default behavior of all levels.

H = FINDOBJ returns the handles of the root object and all its

descendents.

H = FINDOBJ(ObjectHandles) returns the handles listed in

ObjectHandles, and the handles of all their descendents.

H = FINDOBJ('P1Name', P1Value, '-logicaloperator', ...)

applies the logical operator to the property value matching.

Possible values for -logicaloperator are -and, -or, -xor, -not.

H = FINDOBJ('-regexp', 'P1Name', 'regexp',...) matches objects

using regular expressions as if the value of the property P1Name

is passed to REGEXP as:

regexp('P1Name', 'regexp').

FINDOBJ returns the object's handle if a match occurs.

H = FINDOBJ('-property', 'P1Name') finds all objects having

the specified property.

See also set, get, gcf, gca.

Overloaded methods:

handle/findobj

xregcontainer/findobj

Reference page in Help browser

doc findobj

<copyobj> - Make copy of graphics object and its children.

COPYOBJ Make copy of graphics object and its children.

C = COPYOBJ(H,P) makes a copy of each the graphics objects

specified by the handles in the vector H, parented under the

corresponding object specified in the vector P, and returns

handles to them in vector C, yielding length(H) new objects.

The copies are identical to the objects referred to by H

except that the 'Parent' property is changed to correspond

to P, as follows:

C(i) contains a copy of H(i) parented under P(i).

H and P must be the same length, and each pair

H(i) P(i) must be valid types for a parent/child

relationship, or no copies will be made.

C = COPYOBJ(H, p)

If H is a vector and p is a scalar, each object in H is

copied and parented under the object specified by p,

yielding length(H) new objects.

C = COPYOBJ(h, P)

If h is a scalar and P is a vector, copies of object h

are created as children of each object in vector P, yielding

length(P) new objects.

See also findobj.

Overloaded methods:

scribehgobj/copyobj

scribehandle/copyobj

axisobj/copyobj

arrowline/copyobj

qfft/copyobj

xregtable/copyobj

xregmultigraph2d/copyobj

xreglistctrl/copyobj

xreglegend/copyobj

xregaxesinput/copyobj

seltext/copyobj

roller/copyobj

mvgraph4d/copyobj

mvgraph3d/copyobj

mvgraph2d/copyobj

mvgraph1d/copyobj

axiswrapper/copyobj

axestext/copyobj

xregtoolbarlayout/copyobj

xregtablayout2/copyobj

xregsplitlayout/copyobj

xregsnapsplitlayout/copyobj

xregslidefxlayout/copyobj

xregpaneltitlelayout/copyobj

xregpanellayout/copyobj

xregmultisplitlayout/copyobj

xreggridlayout/copyobj

xregframetitlelayout/copyobj

xregframe3dlayout/copyobj

xregflowlayout/copyobj

xregcurtainfxlayout/copyobj

xregcontainer/copyobj

xregcardlayout/copyobj

xregborderlayout/copyobj

term_selector/copyobj

opcda/copyobj

daitem/copyobj

dagroup/copyobj

rptcp/copyobj

Reference page in Help browser

doc copyobj

<isappdata> - True if application-defined data exists.

ISAPPDATA True if application-defined data exists.

ISAPPDATA(H, NAME) returns 1 if application-defined data with

the specified NAME exists on the object specified by handle H,

and returns 0 otherwise.

See also setappdata, getappdata, rmappdata.

Reference page in Help browser

doc isappdata

<getappdata> - Get value of application-defined data.

GETAPPDATA Get value of application-defined data.

VALUE = GETAPPDATA(H, NAME) gets the value of the

application-defined data with name specified by NAME in the

object with handle H. If the application-defined data does

not exist, an empty matrix will be returned in VALUE.

VALUES = GETAPPDATA(H) returns all application-defined data

for the object with handle H.

See also setappdata, rmappdata, isappdata.

Overloaded methods:

uimgr.getappdata

Reference page in Help browser

doc getappdata

<setappdata> - Set application-defined data.

SETAPPDATA Set application-defined data.

SETAPPDATA(H, NAME, VALUE) sets application-defined data for

the object with handle H. The application-defined data,

which is created if it does not already exist, is

assigned a NAME and a VALUE. VALUE may be anything.

See also getappdata, rmappdata, isappdata.

Reference page in Help browser

doc setappdata

<rmappdata> - Remove application-defined data.

RMAPPDATA Remove application-defined data.

RMAPPDATA(H, NAME) removes the application-defined data NAME,

from the object specified by handle H.

See also setappdata, getappdata, isappdata.

Reference page in Help browser

doc rmappdata

Hardcopy and printing

<print> - Print figure or model. Save to disk as image or MATLAB file.

PRINT Print figure or model. Save to disk as image or MATLAB file.

SYNTAX:

print

PRINT alone sends the current figure to your current printer.

The size and position of the printed output depends on the figure's

PaperPosition[mode] properties and your default print command

as specified in your PRINTOPT.M file.

print -s

Same as above but prints the current Simulink model.

print -device -options

You can optionally specify a print device (i.e., an output format such

as tiff or PostScript or a print driver that controls what is sent to

your printer) and options that control various characteristics of the

printed file (i.e., the resolution, the figure to print

etc.). Available devices and options are described below.

print -device -options filename

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