Waterfall Plot Zoom
Posted: Tue Sep 28, 2010 10:57 am
I am using a waterfall plot to display the results of a number of FFTs over a set of data, X axis is frequency, Y axis is magnitude and Z axis is time. As part of the display TrackBar controls are provided to change the elevation and to rotate the display. In addition to this pairs of TrackBar controls are used to zoom the X and Z axis, one TrackBar is used to change the lower axis value, the other TrackBar the upper axis value. Thus by moving these TrackBar controls the user can select a frequency range (X axis) and/or a time range (Z axis). The axis values are set via the SetMinMax() call for the axis in question. The Y axis is not zoomed.
The X axis selection works as expected, however the Z axis selection results in a 'disappearance into the distance effect' of points outside the Z axis range selected. I have attached an application to demonstrate this. What I want to happen is for the points outside the selected Z axis range not to be displayed, but I do not want to reload the data as this is time consuming. Am I using the SetMinMax() call correctly for the Z axis, or is there another way to select the Z axis range either via the Depth axis, or the data series?
Many Thanks
Paul
The X axis selection works as expected, however the Z axis selection results in a 'disappearance into the distance effect' of points outside the Z axis range selected. I have attached an application to demonstrate this. What I want to happen is for the points outside the selected Z axis range not to be displayed, but I do not want to reload the data as this is time consuming. Am I using the SetMinMax() call correctly for the Z axis, or is there another way to select the Z axis range either via the Depth axis, or the data series?
Many Thanks
Paul