I am creating a quickwin application to create runtime monitoring plots of engineering computations. I am plotting "real-time" simulation results, and at some time need to rescale the plot. I call SETWINDOW with a new x and y limit to rescale the plot, and this works fine. The problem is all data previously plotted is stuck in the old scaling and is not automatically rescaled. So if I am plotting a sine wave with magnitude of 1, and my original y limits were -1 to 1, the plot first fills the entire y-axis. If halfway through I change the window units to extend from -2, 2 in the y-range, then all new data fills half the window, but the old plotted data still fills the entire window, giving the false impression that the old data extended from -2,2 instead of -1,1. I do not and practically speaking cannot store the old data and rescale it myself and then replot it, so consider that any data already plotted on the screen is lost and cannot be retrieved by me. Is there some other function or methodology I can use to change my plot scale and have old data plotted automatically rescaled
For more complete information about compiler optimizations, see our Optimization Notice.