Problems to add POVRAY and VRML terminal to GNUPLOT 4.0.
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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.
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:
Originally Posted by theNbomr
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.
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
Then, run gnuplot.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.