Search found 4 matches

by markyland
Thu Jan 13, 2005 1:55 pm
Forum: Basic
Topic: Y2 axis data not updating w/Dplot_AddData
Replies: 6
Views: 30430

Many thanks! :)
by markyland
Fri Jan 07, 2005 9:45 am
Forum: Basic
Topic: Y2 axis data not updating w/Dplot_AddData
Replies: 6
Views: 30430

Good to hear!

Just FYI, I was able to use the ViewRedraw command to redraw the plot by bracketing it with the LockWindowUpdate API call:
LockWindowUpdate ghDPlot
DPlot_Command glDocNum, "[ViewRedraw()]"
LockWindowUpdate ByVal %NULL

There's still an occasional "flick" but it's certainly good ...
by markyland
Fri Jan 07, 2005 7:35 am
Forum: Basic
Topic: Y2 axis data not updating w/Dplot_AddData
Replies: 6
Views: 30430

Thanks for the reply. Just so I'm clear on this, forcing a full plot redraw causes the data to be scaled correctly against the Y2 axis, but the runtime addition of data using Dplot_AddData() doesn't?

I just rescaled my Y-axis from 0-1000 and presto, the Y2 data appears and updates normally ...
by markyland
Thu Jan 06, 2005 3:52 pm
Forum: Basic
Topic: Y2 axis data not updating w/Dplot_AddData
Replies: 6
Views: 30430

Y2 axis data not updating w/Dplot_AddData

Hello,

Bad news about the forum trouble :( . Last month I posted a question about enabling the second Y axis, to which you suggested code like:
DPlot_Command glDocNum, "[ManualScale(0,0,.05,1,0,400)][SelectCurve(3)][MultipleYAxes(2,2,0)]"

Works well, the second Y axis appears on the right side ...