* Plotting a table of date+time pairs
@ 2024-11-28 1:21 Michael Heerdegen
2024-11-28 9:27 ` Fraga, Eric
0 siblings, 1 reply; 2+ messages in thread
From: Michael Heerdegen @ 2024-11-28 1:21 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I want to plot two columns of an org table: the first column (the "x"
coordinate) consists of dates, the second column contains a time value
associated with each date.
It seems this is not as easy to do as I had hoped: AFAIU, for making
gnuplot interpret the "y"-value (!) as a time value I need to add
something like
using "1:(timecolumn(2,\"%H:%M\"))"
to the gnuplot command line (it took me quite a while to find out how to
do it at all...)
And AFAIK this is only possible by tweaking
`org-plot/preset-plot-types'. I need to add a complete new type of
plot!
Is there maybe a simpler way (I know I could add redundant columns to
the table to help org - that's not really what I want, though)?
TIA,
Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Plotting a table of date+time pairs
2024-11-28 1:21 Plotting a table of date+time pairs Michael Heerdegen
@ 2024-11-28 9:27 ` Fraga, Eric
0 siblings, 0 replies; 2+ messages in thread
From: Fraga, Eric @ 2024-11-28 9:27 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: emacs-orgmode@gnu.org
Response below/inline for email Michael Heerdegen wrote:
> (original email sent 28 Nov 2024 at 02:21)
>
> [...]
> And AFAIK this is only possible by tweaking
> `org-plot/preset-plot-types'. I need to add a complete new type of
> plot!
You could use a gnuplot src block instead of org-plot? It's what I do
usually as org-plot is not powerful enough for most of my plots
(although very nice for simple x-y graphs etc.).
--
: Eric S Fraga, with org 9.7.15-a1df10 in Emacs 31.0.50
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-28 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28 1:21 Plotting a table of date+time pairs Michael Heerdegen
2024-11-28 9:27 ` Fraga, Eric
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).