02-20-2018 07:52 PM
Hello!
I have a 2D array of XYZ values. I want to create a 2D image where the color of a pixel is a mapped value from the Z coordinate (a contour plot). Right now, I just have the Base Labview version, so I don't have any of the contour plot VI's. I do, however, have the intensity plot, but it's usually pretty blocky. The values I'm working with are as follows:
X: 0 to 20
Y: 0 to 100
Z: 0 to 1
Is it possible to either:
Thanks,
Joe
Solved! Go to Solution.
02-21-2018 01:24 AM - edited 02-21-2018 01:24 AM
Hi Joe,
Is it possible to either:
Yes.
Yes.
Yes.
All your questions answered…
02-22-2018 04:40 PM
Ha! Thanks GerdW!
To clarify, my input array looks like this:
[ X, Y, Z x1, y1, z1 x2, y2, z2, ..., ..., ...
xn, yn, zn]
(n rows, 3 columns). I want the X and Y values to correspond to pixels, and the Z values to signify a color at the (X, Y) point.
I'll work with the intensity graph a bit more, but I'm not sure if you understood what my input data was.
Thanks,
Joe
02-23-2018 12:53 AM
Hi Joe,
The values I'm working with are as follows:
X: 0 to 20
Y: 0 to 100
Z: 0 to 1
- Initialize a 2D array of 21 columns (X=0…20) and 101 rows (Y=0…100).
- Autoindex your data array row by row: use the XY coordinates to put the Z value into your 2D array using ArraySubset
- wire the resulting 2D array to an intensity graph…