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

DataPointRecorder does not allow "x" and "y" (first two columns) to be renamed #64

Closed jbfaden closed 11 months ago

jbfaden commented 11 months ago

The DataPointRecorder receives points as a datum pair x, y, and a map of additional "planes" of data. The map contains names, but there is no way to communicate a different name to use for x and y. The method addDataPoint, used by the Autoplot script juno/team/digitizer/addPointDigitizer.jy has names which could be used, or an explicit "setXNameYName" method could be added to override the default names.

jbfaden commented 11 months ago

I've added xname and yname properties.