das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

issues with scan next/prev #39

Open jbfaden opened 1 year ago

jbfaden commented 1 year ago

The DasAxis should provide a "scan next" button when the "step next" action would advance to a frame with no data. This feature has a few problems:

jbfaden commented 1 year ago

scanning to the next frame recenters now.

cpiker commented 1 year ago

How do you decide how far to scan?

jbfaden commented 1 year ago

It must have the data in memory, which is a place where things could be improved. So it uses the paradigm that the scientist loads all the data, then zooms in to the first interval, and scans from there. I'm not sure how it would be improved to load more data, since it would have to be aware of the source of the data, which it is not.

jbfaden commented 1 year ago

Actually, it's Autoplot which adds the "scan" action, I was letting Netbeans find things for me and didn't notice this is actually not a Das2 thing. So it could probably be much smarter, allowing scans outside of the loaded data.

jbfaden commented 1 year ago

See also https://sourceforge.net/p/autoplot/bugs/1209/ a related bug in the Autoplot bug tracker.