Am 13.09.2020 um 21:13 schrieb Sven Schreiber:
Am 25.08.2020 um 16:37 schrieb Allin Cottrell:
> On Mon, 24 Aug 2020, Sven Schreiber wrote:
>> I have started experimenting with the sample label printing business
>> ... This is not exactly the same thing
>> as date label printing in plots, but similar I think.
Coming back to this original topic of the thread...
(In another posting panel_pd was discussed and that possibly a new
accessor would be good. That's still a useful thing to pursue and
shouldn't be forgotten.)
Here's a one-line patch that hopefully achieves nothing else than to
clarify to the user in a panel context what the numbers at the bottom of
the main window mean. I would find that useful, even though it doesn't
contain any further information about the time dimension yet. (And
doesn't address Artur's initial idea of getting further time period
information into plots.)
diff --git a/gui/menustate.c b/gui/menustate.c
index c3cbf5670..933737370 100644
--- a/gui/menustate.c
+++ b/gui/menustate.c
@@ -1055,7 +1055,7 @@ void set_sample_label (DATASET *dset)
ntolabel(t1str, dset->t1, dset);
ntolabel(t2str, dset->t2, dset);
- sprintf(tmp, _("%s; sample %s - %s"), _(pdstr), t1str, t2str);
+ sprintf(tmp, _("%s (unit:period); sample %s - %s"), _(pdstr),
t1str, t2str);
gtk_label_set_text(GTK_LABEL(mdata->status), tmp);
} else {
char t1str[OBSLEN], t2str[OBSLEN];
OK to apply? I have tested in a previous incarnation, can test again,
but in any case this cannot do too much harm I guess.
Ping - any opinions?
thanks
sven