I installed gnuplot following the instructions in the INSTALL file.
Everything went fine, but when I tried to check gnuplot with one of
the demo's as is suggested, there are no plots being displayed. When
I'm in the demo directory and try
gnuplot demo.dem
it asks me to hit return a bunch of times, but i never see any plot.
Same thing when i execut gnuplot and try to plot a simple function, it
just goes to the next command line, but no plot window opens.
Any help would be appreciated. Thanks!
What is your current terminal? Type:
show terminal
and post the result. It should be X11 (on Unix/Linux) or Windows (on
Windows). If not, type:
set terminal
Is X11 in the list (I assume that you are on Linux)? If yes, type:
set terminal x11
If not, be aware that the "development" packages
(xorg-x11-devel-x.x.x-x.x.i586.rpm or xfree86-devel) for X11 are
installed and recompile gnuplot. Hope this helps.
Regards,
Hani
I have similar problem: I have the latest version of gnuplot and this
don't plots on x11. x11 hasn't listed on output of set terminal, while
the program is started "Terminal type set to 'unknown' " is appeard.
I've read Hani's text and install sever-xorg-devel package (I use
Ubuntu 7.10 and it looks to work on xorg, no xfree86), next I remove
and reinstall gnuplot. It hasn't work still.
Is this related with note
"* CHANGE defer x11 initialization until first plot command"
on the gnuplot website (http://www.gnuplot.info/announce.4.2.2)?
What I can do more?
Is this able to install more drivers for gnuplot? In 'set terminal'
output i found many printers like and LaTeX's file types but i don't
find bmp, jpg, png,gif.
I use Ubuntu 7.10 desktop on Hewlet Packard's laptop Compaq 6720s
In that case, the configure script must not have found the x11 support
packages on your machine. Because of this, it build a gnuplot executable
that does not contain an x11 driver.
>I've read Hani's text and install sever-xorg-devel package (I use
>Ubuntu 7.10 and it looks to work on xorg, no xfree86), next I remove
>and reinstall gnuplot. It hasn't work still.
By "reinstall", do you mean "reconfigure and build"?
You need to re-run the configure script and check the output to
confirm that it now finds your x11 support packages.
>Is this related with note
>"* CHANGE defer x11 initialization until first plot command"
>on the gnuplot website (http://www.gnuplot.info/announce.4.2.2)?
No. Your problem is more fundamental: you haven't built a version
with support for x11 at all, because for some reason it is not
finding the necessary support packages at the time the program
is built.
>What I can do more?
>Is this able to install more drivers for gnuplot? In 'set terminal'
>output i found many printers like and LaTeX's file types but i don't
>find bmp, jpg, png,gif.
More missing support packages.
When you run the configure script, it produces a list on the
terminal of the drivers it is able to build and a list of those
it cannot build because of missing support libraries and/or
header files. It also produces an output file config.log that
contains the detailed record of which libraries or headers it
could not find.
>I use Ubuntu 7.10 desktop on Hewlet Packard's laptop Compaq 6720s
>
>Any help would be appreciated. Thanks!
For png/jpeg/gif/ support you will need the GD graphics library.
Ubuntu package name: libgd2-xpm or libgd2-noxpm
For scalable font handling you will need the freetype font library
Ubuntu package name: libfreetype6 (and maybe libxft2?)
I do not know the name of the Ubuntu package[s] for xorg development.
xorg-dev maybe?
Anyhow, if the configure script cannot find the required libraries
and header there is little point to going on to build or install
gnuplot. You first need to install the required support packages
and reconfigure.
--
Ethan A Merritt
for jpg/png/gif try libpng-dev/libjpeg62-dev/libgif-dev.
(check the output of ./configure, exactly which headers are needed...)
Bye,
Chris