Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

bar3dhoriz (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: plots

Requires: MathScript RT Module

Syntax

bar3dhoriz(z)

bar3dhoriz(z, width)

bar3dhoriz(z, style)

bar3dhoriz(z, color)

bar3dhoriz(y, z)

bar3dhoriz(y, z, width)

bar3dhoriz(y, z, style)

bar3dhoriz(y, z, color)

bar3dhoriz(z, width, style, color)

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

Legacy Name: bar3h

Description

Generates a plot of 3D horizontal bars.

Details

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, bar3dhoriz 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, bar3dhoriz plots each element of z as a separate bar.
'group' If z is a matrix, bar3dhoriz 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, bar3dhoriz 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

This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.

Examples

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

Related Topics

bar
bar3d
barhoriz


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit