bar3d (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: plots

Requires: MathScript RT Module

Syntax

bar3d(z)

bar3d(z, width)

bar3d(z, style)

bar3d(z, color)

bar3d(y, z)

bar3d(y, z, width)

bar3d(y, z, style)

bar3d(y, z, color)

bar3d(z, width, style, color)

bar3d(y, z, width, style, color)

Legacy Name: bar3

Description

Generates a plot of 3D vertical bars.

Examples

Inputs

Name Description
y Specifies the y-coordinates of the bars you want to plot. y is a vector. length(y) must equal length(z).
z Specifies the heights of the bars you want to plot. z is a vector or matrix. If z is a matrix, bar3d plots each column of z as bars of the same color.
width Specifies the width of the bars you want to plot.
style Specifies the plot style. style is a string that accepts the following values.

'detach' (default) If z is a matrix, bar3d plots each element of z as a separate bar.
'group' If z is a matrix, bar3d plots each row of z as a group of bars. The number of bars in each group equals the number of columns in z.
'stack' If z is a matrix, bar3d plots each row of z as one stacked bar.
color Specifies a valid color attribute for the plot. color is a string that accepts the following values.

'b' Blue
'c' Cyan
'g' Green
'k' Black
'm' Magenta
'r' Red
'w' White
'y' Yellow

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (always ignored)
Supported on RT targets No

Examples

z = rand(5, 2);
bar3d(z);

Related Topics

bar
bar3dhoriz
barhoriz

文章是否对您有帮助?

没有帮助