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

Specialized 3-d graphs

<bar3> - 3-D bar graph.

BAR3 3-D bar graph.

BAR3(Y,Z) draws the columns of the M-by-N matrix Z as vertical 3-D

bars. The vector Y must be monotonically increasing or

decreasing.

BAR3(Z) uses the default value of Y=1:M. For vector inputs,

BAR3(Y,Z) or BAR3(Z) draws LENGTH(Z) bars. The colors are set by

the colormap.

BAR3(Y,Z,WIDTH) or BAR3(Z,WIDTH) specifies the width of the

bars. Values of WIDTH > 1, produce overlapped bars. The default

value is WIDTH=0.8

BAR3(...,'detached') produces the default detached bar chart.

BAR3(...,'grouped') produces a grouped bar chart.

BAR3(...,'stacked') produces a stacked bar chart.

BAR3(...,LINESPEC) uses the line color specified (one of 'rgbymckw').

BAR3(AX,...) plots into AX instead of GCA.

H = BAR3(...) returns a vector of handles to barseries objects.

Example:

subplot(1,2,1), bar3(peaks(5))

subplot(1,2,2), bar3(rand(5),'stacked')

See also bar, barh, and bar3h.

Overloaded methods:

fints/bar3

Reference page in Help browser

doc bar3

<bar3h> - Horizontal 3-D bar graph.

BAR3H Horizontal 3-D bar graph.

BAR3H(Y,Z) draws the columns of the M-by-N matrix Z as horizontal

3-D bars. The vector Y must be monotonically increasing or

decreasing.

BAR3H(Z) uses the default value of Y=1:M. For vector inputs,

BAR3H(Y,Z) or BAR3H(Z) draws LENGTH(Z) bars. The colors are set by

the colormap.

BAR3H(Y,Z,WIDTH) or BAR3(Z,WIDTH) specifies the width of the

bars. Values of WIDTH > 1, produce overlapped bars. The default

value is WIDTH=0.8

BAR3H(...,'detached') produces the default detached bar chart.

BAR3H(...,'grouped') produces a grouped bar chart.

BAR3H(...,'stacked') produces a stacked bar chart.

BAR3H(...,LINESPEC) uses the line color specified (one of 'rgbymckw').

BAR3H(AX,...) plots into AX instead of GCA.

H = BAR3H(...) returns a vector of handles to barseries objects.

Example:

subplot(1,2,1), bar3h(peaks(5))

subplot(1,2,2), bar3h(rand(5),'stacked')

See also bar, barh, bar3.

Overloaded methods:

fints/bar3h

<comet3> - 3-D comet-like trajectories.

COMET3 3-D Comet-like trajectories.

COMET3(Z) displays an animated three dimensional plot of the vector Z.

COMET3(X,Y,Z) displays an animated comet plot of the curve through the

points [X(i),Y(i),Z(i)].

COMET3(X,Y,Z,p) uses a comet of length p*length(Z). Default is p = 0.1.

COMET3(AX,...) plots into AX instead of GCA.

Example:

t = -pi:pi/500:pi;

comet3(sin(5*t),cos(3*t),t)

See also comet.

Reference page in Help browser

doc comet3

<ezgraph3> - General purpose surface plotter.

EZGRAPH3 Helper function for easy surface plotters

EZGRAPH3(PLOTFUN,FUN) plots Z=FUN(X,Y) using the plotting function

PLOTFUN. PLOTFUN is any function like SURF that takes (X,Y,Z) as

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