Masking data points for display
patarroyo
modifygraph mask(wavename)={maskwavename,0,0}
where maskwavename is 0 for masked points and 1 for unmasked. Can anyone explain the logic here? Why can't I just say use this maskwavename for this wavename? What is the purpose of those zeroes? One I could understand, but two is beyond me. I think this is something that could be better explained in the help reference, i.e. an example would be incredibly useful.
In the use you describe, another way to go would be to use wave subranges. If you have a Y wave that has fewer points than the X wave, you can add it to a graph with a command like this:
If you don't have a graph yet, you can use "Display" instead of "AppendToGraph".
This doesn't require padding the Y wave as you describe. If you have other reasons for adding the extra points to the Y wave, you can apply a subrange to both X and Y:
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 15, 2010 at 11:59 am - Permalink