Solution
The max and min values of the color ramp are defined by the max and min of the Z axis matrix. Therefore, it is not possible to change them in the Color Ramp Editor.
If you specify those value in the Z axis matrix input of the Plot Helper.vi and look at the color ramp range of the mesh indicator, you'll see the min and max values change to reflect those values. These changes are also reflected in the color ramp when accessing the 3D plot properties.
However, you can change the max and min values of the graph with a simple operation.
The code attached below is a variation of the
3D Mesh Graph.vi code and shows an example of changing the max&min values of the color ramp by adding an unnecessary value.
After configuring the code as shown above, change the setting value in
3D Plot Properties.
Right click Front Panel 3D Mesh graph indicator » Click
3D Plot Porperties. (See the figure below.)
Click Graph under the category » Check Clip data to axis range in General Setting box.
Click
Axis under the Category » Select
X Axis » Uncheck
Auto scale & One decrease
Maximum value (Because we made an unnecessary axis.)
As you see in the figure below, you can see that the color ramp of the same data can be changed and compared.