Making 2D wave with xyz waves
linepic
I am trying to make a simple 2D graph with xyz data.
for instance,
x = [1,2,3,1,2,3,1,2,3]
y = [0,1,2,0,2,4,0,4,8]
z = [0,0,0,1,1,1,2,2,2].
I would like to make it 2D graph with X and Y waves indexed with z wave.
Is it possible to make the 2D graph without seperating y waves into seperate waves?
Thanks for your help!
Redimension
the y-wave into a 2D wave and plot it usingNewWaterfall
.October 11, 2017 at 12:24 am - Permalink
It is not clear to me what you mean by "indexed with z wave". Typically if you have XYZ data we expect a set of {x[i],y[i],z[i]} values. If this is the case the typical approach is to concatenate the three waves into a single triplet wave and then plot a contour. If you want to generate an image use ImageInterpolate with the Voronoi keyword. You can find an example of this process by executing the command:
If this is not what you are looking for, please take more time to explain your application in more detail.
A.G.
WaveMetrics, Inc.
October 12, 2017 at 12:14 pm - Permalink
Then make a selection from the Macros menu:
If your X and Y data enumerate all of a grid's locations, then perhaps XY Grid and Z to Matrix will help you.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
October 12, 2017 at 01:11 pm - Permalink