From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I plot a surface graph such that color ramp is defined at every point on the z axis

I intend to plot a cylinder using a 3D surface graph (matrix). The issue is that every row of the radius matrix has different min and maximum values. I would like to use a case structure to look at the range of radius values in each row and set my color ramp cluster values accordingly. This would then mean ( 2D arrays for color ramp index and color ramp Array ) which I do not think the property node would accept. Also I observed that currently, the ramp takes my z values instead of my Y ( radius) values for the color ramp. how do I change this?

[BADGE NAME]

0 Kudos
Message 1 of 5
(4,142 Views)

Also I observed that currently, the ramp takes my z values instead of my Y ( radius) values for the color ramp. how do I change this?

 

 

it is possible to programmatically customize a (vector) 3d scatter plot's color mapping:

2016-08-15_4d-scatter-plot.PNG

 

http://forums.ni.com/t5/LabVIEW/How-to-display-4d-data-within-a-3d-scatter-plot/m-p/2508388#M763667

 

 

 

 

0 Kudos
Message 2 of 5
(4,106 Views)

This thread is an index of 3D graph posts.

 

 

The thread that are linked in that thread have some code that shows how to use the 4th dimension as the color. So for your question that means reformatting your data properly and providing a color scale.

 

 

 

Have fun!

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(4,104 Views)
Thanks Ben and Alex. Can anyone confirm if the color matrix input for the Parametric graph works in Labview 64-bit 2015? Considering that it has only two color map modes "absolute/ relative ( no color spectrum)?

[BADGE NAME]

0 Kudos
Message 4 of 5
(4,083 Views)

I can not help with the new version of the 3D graph. I tried it out right after it came out as public beta (with little or no documentation) and lost all interest.

 

Sorry, that I can not help more.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(4,065 Views)