octave+gnuplot: upgrading problems

View: New views
4 Messages — Rating Filter:   Alert me  

octave+gnuplot: upgrading problems

by ayk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

my administrator has recently upgraded our octave version to 3.0.3 from (probably) 2.?.?
after the upgrade, i can't seem to be able to use imagesc.
here is my error message:

octave:6> imagesc(b)

gnuplot> set autoscale fix;
                       ^
         line 0: Invalid range

         Cannot open load file '--version'
         line 0: (No such file or directory)

error: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the 'gnuplot_binary' function

we have gnuplot (3.7) installed, and in the usual place:
    which gnuplot
    /usr/bin/gnuplot

changing 'gnuplot_binary' to '/usr/bin/gnuplot' doesn't do the trick.

i'd appreciate any help you can give me, and please, keep it simple, i'm only a simple user, not the administrator / sudo.

Re: octave+gnuplot: upgrading problems

by Thomas Weber-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jan 08, 2009 at 05:52:38AM -0800, ayk wrote:

>
> hi,
>
> my administrator has recently upgraded our octave version to 3.0.3 from
> (probably) 2.?.?
> after the upgrade, i can't seem to be able to use imagesc.
> here is my error message:
>
> octave:6> imagesc(b)
>
> gnuplot> set autoscale fix;
>                        ^
>          line 0: Invalid range
>
>          Cannot open load file '--version'
>          line 0: (No such file or directory)
>
> error: you must have gnuplot installed to display graphics; if you have
> gnuplot installed in a non-standard location, see the 'gnuplot_binary'
> function
>
> we have gnuplot (3.7) installed, and in the usual place:

I would start by upgrading gnuplot (independent of any error, the 3.7
version is from 2002).

> i'd appreciate any help you can give me, and please, keep it simple, i'm
> only a simple user, not the administrator / sudo.

Hmm, it should be possible to compile gnuplot as normal user, as long as
a compiler is installed.

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

Re: octave+gnuplot: upgrading problems

by Francesco Potortì :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>error: you must have gnuplot installed to display graphics; if you have
>gnuplot installed in a non-standard location, see the 'gnuplot_binary'
>function
>
>we have gnuplot (3.7) installed, and in the usual place:
>    which gnuplot
>    /usr/bin/gnuplot
>
>changing 'gnuplot_binary' to '/usr/bin/gnuplot' doesn't do the trick.

Maybe you set the gnuplot_binary variable?  What you should do is first
see if the gnuplot_binary() function returns the correct value and, if
not, set a new value like this:

octave> gnuplot_binary("/usr/bin/gnuplot")

--
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti@...
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: octave+gnuplot: upgrading problems

by John W. Eaton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On  9-Jan-2009, Francesco Potortì wrote:

| >error: you must have gnuplot installed to display graphics; if you have
| >gnuplot installed in a non-standard location, see the 'gnuplot_binary'
| >function
| >
| >we have gnuplot (3.7) installed, and in the usual place:
| >    which gnuplot
| >    /usr/bin/gnuplot
| >
| >changing 'gnuplot_binary' to '/usr/bin/gnuplot' doesn't do the trick.
|
| Maybe you set the gnuplot_binary variable?  What you should do is first
| see if the gnuplot_binary() function returns the correct value and, if
| not, set a new value like this:
|
| octave> gnuplot_binary("/usr/bin/gnuplot")

I think the problem is that gnuplot 3.7 is too old.

jwe

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