Plotting layers of a wave as separate traces
endyaust
I would like to be able to plot a three-dimensional wave with each layer in the wave being a separate trace on a two-dimensional plot. For example let's say I have a wave called
test
which is created using the following code:Make/N=(128,2,8)/D test
test = x + 10*y + 100*z
Is there a straightforward way to plot all of the layers in this wave as separate traces without have to resort to programming them? I know I can use the splitwave command to split the layers into separate waves and then plot each wave but this means I lose the ability to operate on the 3d wave as a whole.
Also, is there a command to rotate the layers of a wave so that layer 1 becomes layer 2 and 2 becomes 3 and so on?
I imagine these are pretty basic questions but any help would be greatly appreciated.
Regards,
Bruce
The first problem I asked above can be solved by simply preparing the graph manually.
The MatrixOP command covers the second issue using the rotateLayers option from version 7 of Igor onwards.
November 23, 2017 at 08:59 pm - Permalink