Making 2D wave with xyz waves

Hi,
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!

linepic wrote:
Hi,
I am trying to make a simple 2D graph with xyz data.
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.


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:
displayHelpTopic "Gizmo Surface Using Voronoi Interpolation Tour"


If this is not what you are looking for, please take more time to explain your application in more detail.

A.G.
WaveMetrics, Inc.
Put this in your Procedure window:
#include <XYZToMatrix>


Then make a selection from the Macros menu:

XYZ Waves to Matrix

XYZ to Matrix Range

XYZ Triplet to Matrix

XY Grid and Z to Matrix



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.