Re: Bug: org-plot gives Invalid function error

2021-05-12 Thread Ihor Radchenko
Timothy writes: > If you could test it and let me know that would be greatly appreciated > :) It seems to work with the manual example for me. > > Until I hear otherwise, I'm marking this bug as fixed. I guess the initial report was using example from the manual: #+PLOT: title:"Citas" ind:1 deps

Re: Bug: org-plot gives Invalid function error

2021-05-09 Thread Timothy
Ihor Radchenko writes: >> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' > > This is not valid gnuplot command to create histograms. One needs to use: > > plot '/tmp/org-plotiPs0To' using 3:tics(1) with histograms title 'H-index' I've had a look at this, and it should be

Re: Bug: org-plot gives Invalid function error

2021-05-01 Thread Bastien
Timothy writes: > I think it makes sense to leave this open until a fix has been > applied. Done, thanks. -- Bastien

Re: Bug: org-plot gives Invalid function error

2021-05-01 Thread Timothy
Bastien writes: >>> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' >> >> This is not valid gnuplot command to create histograms. > > I'm closing this bug now - feel free to reopen it if I misunderstood > the thread. The bug has been identified, but not fixed. I should ge

Re: Bug: org-plot gives Invalid function error

2021-05-01 Thread Bastien
Hi Ihor and Timothy, Ihor Radchenko writes: > Of course, the described bug may be related to something else. > [after some testing...] > Of course, it is: > >> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' > > This is not valid gnuplot command to create histograms. I'm cl

Re: Bug: org-plot gives Invalid function error

2021-04-26 Thread Ihor Radchenko
Timothy writes: > That's why the reset command is run: > https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-plot.el#L560 Sorry, I missed that. It should indeed make things much less likely to break. One exception is when plot depends on settings defined in .gnuplot file. reset command cle

Re: Bug: org-plot gives Invalid function error

2021-04-26 Thread Timothy
Ihor Radchenko writes: > ob-gnuplot does not refresh gnuplot session. > > A quick look through org-plot code shows that gnuplot session is also > preserved: That's why the reset command is run: https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-plot.el#L560 >From the docs: > The reset

Re: Bug: org-plot gives Invalid function error

2021-04-26 Thread Ihor Radchenko
Timothy writes: > From a quick test myself, this appears reproducible, though I have no > idea what's going on (yet). Please let me know if you find anything. I remember seeing similar gnuplot errors using ob-gnuplot. They tend to disappear upon restarting gnuplot process (M-x gnuplot-kill-gunpl

Re: Bug: org-plot gives Invalid function error

2021-04-26 Thread Timothy
Thank you for bringing this up, and bisecting the error. Interesting that this hasn't been noticed/reported till now. >From a quick test myself, this appears reproducible, though I have no idea what's going on (yet). Please let me know if you find anything. -- Timothy ian martins writes: > I

Bug: org-plot gives Invalid function error

2021-04-26 Thread ian martins
I went to test the "Refresh inline" patch [1] and found that org-plot is broken for me. it seems to have broken in 1ac45d76e. I tested with =emacs -Q= (but loaded Org from master and gnuplot.el manually). I was running the example from the doc [2]. I tested on linux and mac, both using emacs 26.3