Problems to add POVRAY and VRML terminal to GNUPLOT 4.0.
Hello guys!!!
Currently, I am using CYGWIN and from there I can run GNUPLOT. One night I found out from internet a website (content in portugues) how to install POVRAY. According to this website, I followed these steps: $ wget -c ftp://ftp.dante.de/pub/tex/graphics/...t-4.0.0.tar.gz $ wget -c http://t-kita.net/gnuplot_povrml/gnu...vrml-0.3.patch $ tar zxvf gnuplot-4.0.0.tar.gz $ cp gnuplot_povrml-0.3.patch gnuplot-4.0.0 $ cd gnuplot-4.0.0 $ patch -p1 < gnuplot_povrml-0.3.patch Due to the CYGWIN has already installed the GNUPLOT 4.2 on the system, I did this: $ ./configure --prefix=/home/user/selected_folder/ $ make install After that, $ cd ~/selected_folder/bin/ $ ./gnuplot So, I can run GNUPLOT 4.0, but when I want to create this kind of graphs set terminal povray set xlabel "x-data" set ylabel "y-data" set zlabel "height" set samples 20 set isosamples 20 set out "povray-demo1.pov" splot x*y with points, x*10 with points ps 1.5, x-60 with d, -2*x-120 with lines set out !povray +FC +A0.5 graficoA.pov The following message appears: sh: povray: command not found What can I do??? What did I do wrong? What did I forget? someone can tell me. Astha Selene |
Probably just add the location of the povray runtime binary to $PATH, or instead of the script using '!povray', use the fully qualified filespec of the povray runtime binary.
--- rod. |
Reply
Dear Rod,
Due to I'm a new user of Gnuplot, I cannot understand your first suggestion, please can you write how can I do that? Thank you in advance Astha Selene Quote:
|
First, figure out where the povray runtime binaries are installed. Note the name of the directory where you find it. For the sake of argument, if it was found in the directory /usr/local/povray, then at the shell prompt where you start gnuplot:
Code:
PATH=$PATH:/usr/local/povray Gnuplot is trying to launch povray, but doesn't know how to find it. Like the shell, it may use $PATH to find programs. Adding a directory to the list in $PATH will tell it to look there, and it will then find it. --- rod. |
All times are GMT -5. The time now is 07:43 PM. |