Owning Class: plots
Requires: MathScript RT Module
scatter3d(x, y, z)
scatter3d(x, y, z, size)
scatter3d(x, y, z, attributes)
scatter3d(x, y, z, size, attributes)
Legacy Name: scatter3
Generates a 3D scatter plot.
| 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.
|
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.
x = rand(10, 1);
y = rand(10, 1);
z = rand(10, 1);
scatter3d(x, y, z, 8)