Re: [O] No plot with org-plot

2016-04-28 Thread Loris Bennett
Michael Welle  writes:

> Hi,
>
> "Loris Bennett"  writes:
>> Hi,
>>
>> Following
>>
>> http://orgmode.org/manual/Org_002dPlot.html#Org_002dPlot
>>
>> I tried to do
>>
>> #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange 
>> [0:]"
>> | Sede  | Max cites | H-index |
>>
>> |---+---+-|
>> | Chile |257.72 |   21.39 |
>> | Leeds |165.77 |   19.68 |
>> | Sao Paolo | 71.00 |   11.50 |
>> | Stockholm |134.19 |   14.33 |
>> | Morelia   |257.56 |   17.67 |
>>
>> but nothing happens: no error, no plot.  In the *Messages* buffer, I
>> just get
>>
>> gnuplot-mode 0.7-beta (gnuplot 4.6) -- report bugs with "C-c C-u"
>>
>> Any ideas?
> start with removing the empty line in your table. Then the plot should
> show up.
>
> Regards
> hmw

My original message didn't contain that empty line, so it seems to be
yours, not mine.  Anyway, the answer is to install 'gnuplot-x11' (on
Debian).

Cheers,

Loris

-- 
This signature is currently under construction.




Re: [O] No plot with org-plot

2016-04-28 Thread Loris Bennett
Eric S Fraga  writes:

> On Thursday, 28 Apr 2016 at 10:20, Loris Bennett wrote:
>> Does the file in /tmp stay there until you close the Gnuplot window?
>
> No, it seems to disappear right away.

OK.  Everything was working as it should.  My Debian system had

  gnuplot-nox

instead of

  gnuplot-x11

installed and that was what I got: no X.

I have now installed gnuplot-x11 and, o Wunder, get X windows.

Cheers,

Loris
-- 
This signature is currently under construction.




Re: [O] No plot with org-plot

2016-04-28 Thread Eric S Fraga
On Thursday, 28 Apr 2016 at 10:20, Loris Bennett wrote:
> Does the file in /tmp stay there until you close the Gnuplot window?

No, it seems to disappear right away.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077



Re: [O] No plot with org-plot

2016-04-28 Thread Loris Bennett
Eric S Fraga  writes:

> On Thursday, 28 Apr 2016 at 09:18, Loris Bennett wrote:
>> gnuplot> plot '/tmp/org-plot1999bqI' using 3:xticlabel(1) with
>> gnuplot> histograms title 'H-index'
>>
>> So no error here and also no org-plot files in /tmp.
>
> Does it split the line as you have it above?  In my case, the *gnuplot*
> buffer looks like this:
>
> gnuplot> set datafile separator "\t"
> gnuplot> plot '/tmp/org-plot10749hZi' using 3:xticlabel(1) with histograms 
> title 'H-index'
> gnuplot> 
>
> and the plot appears in a separate window.

No, doesn't split.  I must have been at the end of the last line when I
pasted, so when I hit 'return' the text got auto-filled.

Does the file in /tmp stay there until you close the Gnuplot window?

Cheers,

Loris

-- 
This signature is currently under construction.




Re: [O] No plot with org-plot

2016-04-28 Thread Eric S Fraga
On Thursday, 28 Apr 2016 at 09:18, Loris Bennett wrote:
> gnuplot> plot '/tmp/org-plot1999bqI' using 3:xticlabel(1) with
> gnuplot> histograms title 'H-index'
>
> So no error here and also no org-plot files in /tmp.

Does it split the line as you have it above?  In my case, the *gnuplot*
buffer looks like this:

gnuplot> set datafile separator "\t"
gnuplot> plot '/tmp/org-plot10749hZi' using 3:xticlabel(1) with histograms 
title 'H-index'
gnuplot> 

and the plot appears in a separate window.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077



Re: [O] No plot with org-plot

2016-04-28 Thread Loris Bennett
Eric S Fraga  writes:

> On Thursday, 28 Apr 2016 at 08:24, Loris Bennett wrote:
>> I tried to do
>>
>> #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange 
>> [0:]"
>> | Sede  | Max cites | H-index |
>> |---+---+-|
>> | Chile |257.72 |   21.39 |
>> | Leeds |165.77 |   19.68 |
>> | Sao Paolo | 71.00 |   11.50 |
>> | Stockholm |134.19 |   14.33 |
>> | Morelia   |257.56 |   17.67 |
>>
>> but nothing happens: no error, no plot.  In the *Messages* buffer, I
>> just get
>
> Works for me.  Check the *gnuplot* buffer.

In the *gnuplot* buffer I get:

gnuplot> set title 'Citas'
gnuplot> set yrange [0:]
gnuplot> set datafile separator "\t"
gnuplot> plot '/tmp/org-plot1999bqI' using 3:xticlabel(1) with histograms title 
'H-index'

So no error here and also no org-plot files in /tmp.

It looks a bit as if everything is working correctly, but just getting
tidied away before I get a chance to see anything.

Cheers,

Loris

-- 
This signature is currently under construction.




Re: [O] No plot with org-plot

2016-04-28 Thread Eric S Fraga
On Thursday, 28 Apr 2016 at 08:24, Loris Bennett wrote:
> I tried to do
>
> #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
> | Sede  | Max cites | H-index |
> |---+---+-|
> | Chile |257.72 |   21.39 |
> | Leeds |165.77 |   19.68 |
> | Sao Paolo | 71.00 |   11.50 |
> | Stockholm |134.19 |   14.33 |
> | Morelia   |257.56 |   17.67 |
>
> but nothing happens: no error, no plot.  In the *Messages* buffer, I
> just get

Works for me.  Check the *gnuplot* buffer.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077