04-10-2017 01:33 PM
Hello,
Seems like a simple solution but my simple mind is confused.
Have an x value array and y value array (posiyion data) and a z matrix of data associated with each x,y pair. Would like to present and save this data in a specific format, i.e. x-values horizontally across the top of the matrix, y values vertically arranged on the left. Z-matrix data is then placed under each x,y position (think excel spreadsheet). I will then save the generated matrix as a .csv file for opening and further analysis later.
Xo, Yo should either be empty or padded with a zero.
Tried several things but somehow just missing the procedure.
Any help available?
Thanks,
Chris
Solved! Go to Solution.
04-10-2017 02:00 PM - edited 04-10-2017 02:01 PM
If by "matrix"* you actually mean a 2D array of data with visible row and column headers this is very easy. Just use a table control. Make the Row and Column Headers visible and fill them with your X and Y array data and then fill the table with your 2D array of "Z-matrix" data.
To try it out just drop a table down and right click to make the headers visible. Then use property nodes to fill in the headers and data.
*If you're actually working with mathematical matrices there is the matrix control and the Linear Math palette.
04-10-2017 02:23 PM
Something like this?
04-10-2017 02:47 PM
Thanks!! exactly what I wanted.