Page 1 of 1
Scrolling
Posted: Tue Feb 14, 2006 4:37 pm
by jsc
One of the things that I really like about DPlot is that I can view data like a strip chart. I can zoom in to an interesting piece of data, then use the arrow keys to scroll left and right, or up and down. However, I'd like to have some control over the size of the jumps.
One, can I set it? Sorry if it's there, and I just didn't see it. And two, could there be more than one value, like you specifiy for some of the curve and label editting tools. MS uses the arrow keys for coarse jumps, and the ctrl-arrow key combination for fine jump/nudge.
Thanks.
Jon
Posted: Tue Feb 14, 2006 4:53 pm
by DPlotAdmin
Currently the only way to control the amount of panning is with the macro command SetPanFraction(ratio), where ratio is > 0 and less than 1. Your other suggestions are good ideas; I'll as a minimum add a check for the Ctrl key.
Posted: Wed Apr 05, 2006 2:39 pm
by jsc
David,
In 2.0.3.6, you added:
"When panning a zoomed plot, pressing the Ctrl key in combination with the arrow keys now pans the plot by 10% of the normal pan distance. (By default, the pan distance is one half of the plot extents. This fraction can be reset with a SetPanFraction macro command.)"
And it works great if "Tick intervals" are set to "Auto-tick marks" or "Specify interval". However, when set to "Specify number", both the arrow key and ctrl-arrow keys, left-or-right or up-or-down, continuously compress the x or y axis respectively. (Version 2.0.4.5)
It's not quite what I would expect. (But to tell the truth, this is how the arrow key works in a temperature datalogger program I have, and I don't like it!)
Is this how it is supposed to work? I'd rather it be consistent across all three settings, ie, I'd like the arrow and ctrl-arrow function to be a pan, only.
Thanks,
Jon
Posted: Wed Apr 05, 2006 2:49 pm
by DPlotAdmin
Wow, that's messed up, isn't it? Thanks for pointing this out, will fix this for sure (crossing fingers).