Cindy and Connor both asked separately about how to make the stack of plots in Autoplot be without any space in between, and the "fix layout" action might provide this. It should bring up a dialog showing what the result will look like, and provide options like removing timetags in between and controlling the amount of whitespace in between plots.
What else should be in this dialog? For example "fix layout..." brings up a dialog which offers:
* remove labels between plots
* gap between plots: 0, 1/2em, 1em, ....
Anything else we can think of (talking to you, Ivar)?
Fix layout should also automatically add a time axis at the bottom, or make this easy to do. I often see where people loose their time axis and don't know how to turn it back on.
On the topic of time axes, there needs to be some kind of explicit binding of
all the non-visible time axes to the visible one. I'm always paranoid that one
of the non-visble ones could get in a weird state where it's actually showing a
different time range (it's happened...).
I'll ponder other things for this dialog...
Ta,
Ivar
On Sat, 14 Oct 2023, Jeremy Faden wrote:
Related
Feature Requests: #811
Option to turn on/off all plot titles.
Ivar
On Sat, 14 Oct 2023, Ivar Christopher wrote:
Related
Feature Requests: #811
Also needed is a normalization of the layout strings. Often I have tests fail because "100%+2.0em" is different than "100.0%+2em".
See also https://sourceforge.net/p/autoplot/feature-requests/243/
Maybe there could also be the option to place all legends in the "OutsideNE" position.
I'm going to finish off the v2023a_10 release today, and then I'll start working on this.
The devel version of Autoplot (20231021a) has a first go at this.
Cindy was looking for this function.
This is coming along. The epiphany I had this morning was that the percentages are of the margin row, not the canvas, so they were slightly off. Plus a dump index error.
Ivar and I noticed:
* vap+cdaweb:ds=OMNI2_H0_MRG1HR&id=DST1800&timerange=Oct+2016
* add plot below, vap+cdaweb:ds=OMNI2_H0_MRG1HR&id=KP1800&timerange=Oct+2016
* remove the extra !c
* fix layout.
It doesn't leave enough room for the titles.
The problem where the extra !c is added is fixed. Also the problem where the x-axis label wasn't counted is fixed.
I've added the properties maxLayout and minLayout to Das2's DasColumn and DasRow objects, so that Autoplot can simply bind to these and the problem of managing layout is all in one class. Autoplot now simply binds to these properties.
This is close to working ideally. There's a jump when this idempotent operation is invoked a second time. Here are the two states, the second is after "autolayout" scoots things in:
Last edit: Jeremy Faden 2023-11-06
See also https://github.com/autoplot/dev/tree/master/rfe/sf/811
There's an issue with "inset" plots where a special row and column are added. This should be detected and ignored in the fix layout, or moved relative to the plot they were on before the fix layout operation.
1 . add plots, 3x3, replace current
2. add plot, inset plot
3. fix_layout
You can see that the insert plot's row and column are handled along with the others.
Last edit: Jeremy Faden 2023-12-02
The action "Break into stack of plots" would hang because fix layout would call waitUntilIdle when the action would get a mutator lock. It now checks that there's a mutator that is locked.