plot3D legend create

Allows creation of a legend on the three dimensional plot showing color gradient
The legend that appears when you select to have interpolated colors on the surface of your three-dimensional plot.

Format:

 
plot3d legend create
legend_name =
a new plot3d legend
visibility =
on_off
gradients =
integer
fit_plot =
boolean

Example:

 
plot3D legend create &
legend_name =
new_lgnd &
visibility =
on &
gradients =
200 &
fit_plot =
yes

Description:

 
Parameter
Value Type
Description
legend_name
A New Plot3d Legend
Specifies the name of a 3D plot legend to be created
visibility
On_off
Sets the default visibility status to ON or OFF
gradients
Integer
Specifies the number of gradients shown in the legend
fit_plot
Boolean
Specifies whether the legend fits the plot window

Extended Definition:

1. The name of the legend can be specified, and the default visibility of the legend bar can be set to ON or OFF by the parameter ‘visibility’.
2. When we use interpolated colors to show the colors on the surface of three dimensional plot, the number of colors used to display the surface can be set while using the surface command. This number cannot be more than 255.
3. Similarly, the legend can be split into gradients where the number of gradients can be more than two and les than or equal to 255.