I have a number of waves that have Y values, but the x values are "calculated using the y wave x indexing". I need to plot this data as y vs x^2, but I can not for the life of me figure out how to do this. It is easy enough to plot vs x or log(x) but there doesn't seem to be any way I can find to plot vs any other function of X. I'm sure i'm missing something simple if someone could help me out. Thanks.
Perhaps you need the Transform Axis package. To learn more, see the demo experiment: File->Example Experiments->Graphing Techniques->Transform Axis Demo.
Perhaps you need the Transform Axis package. To learn more, see the demo experiment: File->Example Experiments->Graphing Techniques->Transform Axis Demo.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 12, 2016 at 09:30 am - Permalink
Thanks that worked wonderfully. I ended up using
Function TransAx_Squared(w, x)
Wave/Z w
Variable x
return abs(x)*x
end
And that gave me what I needed.
April 12, 2016 at 11:01 am - Permalink