reordering traces
s.r.chinn
I would like to have both types of traces on the same graph, but avoid the present distracting Moire-like appearance by putting all the blue traces behind the red ones. To that end, I thought I could use the ReorderTraces operation within my function, but don't see how to combine the result of TraceNameList within the syntax of that operation, to put each blue trace at the bottom as it is added to the display.
* display all the traces
* collect them all with TraceNameList
* loop through all to create two sets A - blue, B - red
* loop through only set A to move each to back.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
February 20, 2014 at 09:10 am - Permalink
ReorderTraces
.February 20, 2014 at 09:14 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
February 20, 2014 at 10:12 am - Permalink
ReorderTraces w0,{$rwName}
Here w0 is the first (red) trace created in the graph, and $rwName is a unique wave (or trace) name created in my function (e.g. rw2, rw3,...) for the reverse-directed blue traces. This puts all the blue traces behind all the red ones.
February 21, 2014 at 09:01 am - Permalink