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

Vector y are drawn as bars in descending order. Each bar will

be labeled with the associated name in the string matrix or

cell array NAMES.

PARETO(Y,X) labels each element of Y with the values from X.

PARETO(Y) labels each element of Y with its index.

PARETO(AX,...) plots into AX as the main axes, instead of GCA.

[H,AX] = PARETO(...) returns a combination of patch and line object

handles in H and the handles to the two axes created in AX.

See also hist, bar.

Reference page in Help browser

doc pareto

<pie> - Pie chart.

PIE Pie chart.

PIE(X) draws a pie plot of the data in the vector X. The values in X

are normalized via X/SUM(X) to determine the area of each slice of pie.

If SUM(X) <= 1.0, the values in X directly specify the area of the pie

slices. Only a partial pie will be drawn if SUM(X) < 1.

PIE(X,EXPLODE) is used to specify slices that should be pulled out from

the pie. The vector EXPLODE must be the same size as X. The slices

where EXPLODE is non-zero will be pulled out.

PIE(...,LABELS) is used to label each pie slice with cell array LABELS.

LABELS must be the same size as X and can only contain strings.

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

H = PIE(...) returns a vector containing patch and text handles.

Example

pie([2 4 3 5],{'North','South','East','West'})

See also pie3.

Reference page in Help browser

doc pie

<plotmatrix> - Scatter plot matrix.

PLOTMATRIX Scatter plot matrix.

PLOTMATRIX(X,Y) scatter plots the columns of X against the columns

of Y. If X is P-by-M and Y is P-by-N, PLOTMATRIX will produce a

N-by-M matrix of axes. PLOTMATRIX(Y) is the same as PLOTMATRIX(Y,Y)

except that the diagonal will be replaced by HIST(Y(:,i)).

PLOTMATRIX(...,'LineSpec') uses the given line specification in the

string 'LineSpec'; '.' is the default (see PLOT for possibilities).

PLOTMATRIX(AX,...) uses AX as the BigAx instead of GCA.

[H,AX,BigAx,P,PAx] = PLOTMATRIX(...) returns a matrix of handles

to the objects created in H, a matrix of handles to the individual

subaxes in AX, a handle to big (invisible) axes that frame the

subaxes in BigAx, a matrix of handles for the histogram plots in

P, and a matrix of handles for invisible axes that control the

histogram axes scales in PAx. BigAx is left as the CurrentAxes so

that a subsequent TITLE, XLABEL, or YLABEL will be centered with

respect to the matrix of axes.

Example:

x = randn(50,3); y = x*[-1 2 1;2 0 1;1 -2 3;]';

plotmatrix(y)

Reference page in Help browser

doc plotmatrix

<rose> - Angle histogram plot.

ROSE Angle histogram plot.

ROSE(THETA) plots the angle histogram for the angles in THETA.

The angles in the vector THETA must be specified in radians.

ROSE(THETA,N) where N is a scalar, uses N equally spaced bins

from 0 to 2*PI. The default value for N is 20.

ROSE(THETA,X) where X is a vector, draws the histogram using the

bins specified in X.

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

H = ROSE(...) returns a vector of line handles.

[T,R] = ROSE(...) returns the vectors T and R such that

POLAR(T,R) is the histogram. No plot is drawn.

See also hist, polar, compass.

Reference page in Help browser

doc rose

<scatter> - Scatter plot.

SCATTER Scatter/bubble plot.

SCATTER(X,Y,S,C) displays colored circles at the locations specified

by the vectors X and Y (which must be the same size).

S determines the area of each marker (in points^2). S can be a

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