emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plotting a table of date+time pairs


From: Michael Heerdegen
Subject: Re: Plotting a table of date+time pairs
Date: Fri, 27 Dec 2024 00:58:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@posteo.net> writes:

> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
> > But the real problem is that the org table export mechanism thinks that
> > the time field doesn't look like a numerical field, so it wraps every
> > such field in quotes, and the exported data file will look like
> >
> > | 2024-09-18      "11:40 CEST"
> > | 2024-09-19      "11:27 CEST"
> > |    ...             ...
> > ...
>
> Did you try using ob-gnuplot?

Yes - I was using ob-gnuplot approximately in the complete second half
of this thread.  And it is indeed the better choice for my case.

The quoting problem you quoted above originates from org's table export,
though.  This quoting is hard to avoid, not without a hack, and
independent from the used "export tool".

My final solution for this little remaining problem is to tell gnuplot
to expect a time value wrapped in quotes:

| plot data using 1:(timecolumn(2,"\"%H:%M\"")) with ...
                                   ^^     ^^

Thx,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]