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

scatter3d (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

scatter3d(x, y, z)

scatter3d(x, y, z, size)

scatter3d(x, y, z, attributes)

scatter3d(x, y, z, size, attributes)

Legacy Name: scatter3

Description

Generates a 3D scatter plot.

Details

Examples

Inputs

Name Description
x Specifies a vector you want to plot.
y Specifies a vector you want to plot.
z Specifies a vector you want to plot. length(z) must equal length(x) and length(y).
size Specifies the point size (1-10).
attributes Specifies valid plot attributes. Order the plot attributes by color and point style. For example, 'bo' specifies that the plot is blue and marks points with circles. attributes is a string that accepts a combination of the following values.

'b' Colors the plot blue.
'c' Colors the plot cyan.
'g' Colors the plot green.
'k' Colors the plot black.
'm' Colors the plot magenta.
'r' Colors the plot red.
'w' Colors the plot white.
'y' Colors the plot yellow.
'.' Marks points with dots.
'o' Marks points with circles.
'x' Marks points with crosses.
'+' Marks points with plus signs.
'*' Marks points with asterisks.

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

x = rand(10, 1);
y = rand(10, 1);
z = rand(10, 1);
scatter3d(x, y, z, 8)

Related Topics

plot3d
scatter


 

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