help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Examples doesn't seems to work


From: Søren Hauberg
Subject: Re: Examples doesn't seems to work
Date: Fri, 14 Sep 2007 18:34:13 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Open Synaptic from the menu and search for 'gnuplot'. You'll find the packages to install easily.

Abdul Rahman Riza skrev:
Dear Mr. DAvid  Bateman,

I am Using ubuntu Feisty Fawn. How to install GNUplot properly?

Rgds
Riza

*/David Bateman <address@hidden>/* wrote:

    Abdul Rahman Riza wrote:
     > Dear All,
     >
     > I just installed octave and run an examples in
     >
    
http://www.gnu.org/software/octave/doc/interpreter/Simple-Examples.html#Simple-Examples
     >
     > After invoke this command:
     >
     > octave:1> function xdot = f (x, t);
     >> r = 1.4;
     >> k = 1.4;
     >> a = 1.5;
     >> b = 0.16;
     >> c = 0.9;
     >> d = 0.8;
     >> xdot(1) = r*x(1)*(1 - x(1)/k) - a*x(1)*x(2)/(1 + b*x(1));
     >> xdot(2) = c*a*x(1)*x(2)/(1 + b*x(1)) - d*x(2);
     >> endfunction
     > octave:2> x0 = [1; 2];
     > octave:3> t = linspace (0, 50, 200)';
     > octave:4> x = lsode ("f", x0, t);
     > octave:5> plot (t, x)
     > octave:6> Expected X11 driver: /usr/lib/gnuplot/gnuplot_x11
     > Exec failed: No such file or directory
     > See 'help x11' for more details
     >
     >
     > My Question:
     >
     > 1. Why there's no integration result?
     > 2. Why can't I get the plot of the function?
     >
     > Regards,
     > Riza
     >

    Try installing gnuplot properly, its only half there as its missing the
    gnuplot_x11. As you didn't tell us what platform or OS you are running
    we can't give you any information on how to go about installing
    gnuplot_x11..

    D.




------------------------------------------------------------------------
Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di Yahoo! Answers <http://sg.rd.yahoo.com/mail/id/footer/def/*http://id.answers.yahoo.com/>


------------------------------------------------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]