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

axisOffset property allows for multiple axes on one plot #2

Closed jbfaden closed 1 year ago

jbfaden commented 3 years ago

A few people have asked for a way to offset the dasAxis from the plot, so a Z-stack of plots axes can be used to control parameters. Right now you can have a left axis and a right axis, but this will allow for any number of parameters and the axis can always be on the left side.

VoyagerPWS commented 3 years ago

In a similar vein, it would be nice to have, e.g., a single time axis or multiple shared axes for a vertical stack of plots.

jbfaden commented 3 years ago

So this sort of plot is possible: 20210504_155513

There's still work that needs to be done to handle events properly.

jbfaden commented 3 years ago

VoyagerPWS=Larry, right? This can be done already by creating a big non-visible plot and binding the axes together with beans bindings, or in Das2 you could just create an axis object by itself and bind to that.

jbfaden commented 3 years ago

You can do some pretty silly things. Is this what you mean: 20210504_160556