Re: Plotting a table of date+time pairs

2024-12-26 Thread Michael Heerdegen
Ihor Radchenko writes: > Michael Heerdegen 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

Re: Plotting a table of date+time pairs

2024-12-26 Thread Ihor Radchenko
Michael Heerdegen 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:

Re: Plotting a table of date+time pairs

2024-12-05 Thread Michael Heerdegen
"Fraga, Eric" writes: > > The escaped quotes seem to be recognized literally as expected. This > > saves me from my org hack! > > Excellent! Indeed. > Happy to have been able to help. gnuplot is a brilliant tool but > sometimes difficult to get exactly what you want due to its rather > idiosy

Re: Plotting a table of date+time pairs

2024-12-04 Thread Fraga, Eric
Response below/inline for email Michael Heerdegen wrote: > (original email sent 4 Dec 2024 at 14:47) > > Tested! > > The escaped quotes seem to be recognized literally as expected. This > saves me from my org hack! Excellent! > Unfortunately %Z is ignored - I think it's only significant for ou

Re: Plotting a table of date+time pairs

2024-12-04 Thread Michael Heerdegen
"Fraga, Eric" 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

Re: Plotting a table of date+time pairs

2024-12-04 Thread Fraga, Eric
Response below/inline for email Michael Heerdegen wrote: > (original email sent 4 Dec 2024 at 11:50) > > 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 fi

Re: Plotting a table of date+time pairs

2024-12-04 Thread Michael Heerdegen
"Fraga, Eric" writes: > > I now have one remaining problem: my time values in the second column > > contain the name of the time zone - the purpose is to flag the time as > > summer or winter time. Currently I need to remove these indicators from > > the table, else plotting fail, gnuplot doesn'

Re: Plotting a table of date+time pairs

2024-12-02 Thread Fraga, Eric
Response below/inline for email Michael Heerdegen wrote: > (original email sent 30 Nov 2024 at 07:17) > > I now have one remaining problem: my time values in the second column > contain the name of the time zone - the purpose is to flag the time as > summer or winter time. Currently I need to remo

Re: Plotting a table of date+time pairs

2024-11-29 Thread Michael Heerdegen
Michael Heerdegen writes: > I now have one remaining problem: my time values in the second column > contain the name of the time zone - the purpose is to flag the time as > summer or winter time. Currently I need to remove these indicators from > the table, else plotting fail, gnuplot doesn't un

Re: Plotting a table of date+time pairs

2024-11-29 Thread Michael Heerdegen
"Fraga, Eric" writes: > Sure, see attached. This example has a table of data to plot (simple > example with two columns) and the gnuplot src block to create a PDF > plot. You invoke gnuplot by typing C-c C-c in the src block. You can > then view the result with C-c C-o. > [...] Ok... I had to

Re: Plotting a table of date+time pairs

2024-11-29 Thread Max Nikulin
On 29/11/2024 06:17, Michael Heerdegen wrote: I'm not a sophisticated org user. May I ask for a simple example, and how I would have to invoke gnuplot instead? Link to its source is incorrect, it should be

Re: Plotting a table of date+time pairs

2024-11-29 Thread Fraga, Eric
Response below/inline for email Michael Heerdegen wrote: > (original email sent 29 Nov 2024 at 00:17) > > I'm not a sophisticated org user. May I ask for a simple example, > and how I would have to invoke gnuplot instead? Sure, see attached. This example has a table of data to plot (simple exam

Re: Plotting a table of date+time pairs

2024-11-28 Thread Michael Heerdegen
"Fraga, Eric" writes: > 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.). Ah ok, thank you. Sounds reasonable. I'm not a sophisticated org user. May I ask

Re: Plotting a table of date+time pairs

2024-11-28 Thread Fraga, Eric
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