LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D surface plot FillColor property node misinterpreting colorbox

Hello there,
I'm using the 3D parametric surface VI to plot a single data set.  When I wire a colorbox to the FillColor property the 3D plot interprets green somewhat correctly but a selection of blue in the color box makes the plot orange and a selection of red makes the plot blue.  The colors don't match up across most of the spectrum.  Somehow the colorbox is being misinterpreted but I can't find any reason for it.  I tried converting the U32 to different integer types and that didn't help.  Any input would be appreciated.  Thanks!  (Please see attached JPG)
 
Ethan
0 Kudos
Message 1 of 3
(2,876 Views)

LV uses RGB colors.

CW uses BGR colors.

Break the U32 into its bytes and swap the R and B values.

See this thread for an example.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,871 Views)
Piece of cake.  Thanks Ben!
0 Kudos
Message 3 of 3
(2,867 Views)