Swap the left and right axes
isend
Sun, 10/22/2017 - 01:48 am
I have a graph showing different left and right axes (by appending some of the data traces to the left and the other to the right). May I quickly swap the left and right axes without remaking the graph (i.e. re-appending the data traces)?
But you can use this workaround:
Close the graph and save the recreation macro.
Edit the macro to use Display or AppendToGraph with /R where they have no /R flag (or where it has a /L=someAxis flag)
and change any /R to /L.
Before:
PauseUpdate; Silent 1 // building window...
Display /W=(35.25,41.75,429.75,250.25) data1
AppendToGraph/R data2
EndMacro
After:
PauseUpdate; Silent 1 // building window...
Display /W=(35.25,41.75,429.75,250.25)/R data1
AppendToGraph/L data2
EndMacro
Then choose Windows->Graph Macros->(your graph's name)
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
October 22, 2017 at 12:42 pm - Permalink