Owning Class: plots
Requires: MathScript RT Module
view(a, b)
[c, d] = view
Sets the viewing position of the current 3D plot. view(a, b) sets the viewing position of the current 3D plot. [c, d] = view returns the viewing position of the current 3D plot.
| Name | Description |
|---|---|
| a | Specifies the longitude in degrees of the viewing position. a is a scalar. |
| b | Specifies the latitude in degrees of the viewing position. b is a scalar. |
| Name | Description |
|---|---|
| c | Returns the longitude in degrees of the viewing position. c is a scalar. |
| d | Returns the latitude in degrees of the viewing position. d is a scalar. |
This function is not supported in the LabVIEW Run-Time Engine if you request an output from the function. Either do not request an output or remove this function from scripts before you build a stand-alone application or shared library.
[X, Y] = meshgrid2d(0:0.1:1);
Z = sqrt(X.^2 + Y.^2);
surface(X, Y, Z)
[c, d] = view