help-octave
[Top][All Lists]
Advanced

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

Re: Plot print problem


From: John B. Thoo
Subject: Re: Plot print problem
Date: Mon, 4 May 2009 21:46:05 -0700

I'm probably going to embarrass myself on this list, on which are people much more expert than I; nevertheless...

I downloaded gnuplot from here:

<http://sourceforge.net/project/showfiles.php?group_id=2055>

I put the (unzipped) file in /usr/local/bin, then typed

    ./configure
    make CC=gcc-3.3
    sudo make install

I realize you're on Linux and I'm on Mac OS X, but that's what worked for me.

BTW, is a .rpm like a .dmg?

Anyway, I'm sure someone will jump in to correct me if I steered you wrongly. :-)

---John.


On May 4, 2009, at 8:56 PM, Jonathan Webster wrote:

Hello,
Thanks.  The suggestion to go to gnuplot-4.2 was well taken. The
remaining guestion I fear is more about Linux than octave, but maybe
someone has been here/

In trying to do a local update to gnuplot 4.2, yum complains it cannot
find libc.so.6. But ldconfig -p does find ibc.so.6.,  even an x86_64
version. (see below)

I took out some lines below; hopefully not the important ones.

Any thoughts??
Be well,
Jonathan
______________________snip__________________________

address@hidden gnuplot]# yum localupdate gnuplot-4.2.0-7.fc8.x86_64.rpm
Loaded plugins: fastestmirror, kernel-module
...
Examining gnuplot-4.2.0-7.fc8.x86_64.rpm: gnuplot-4.2.0-7.fc8.x86_64
Marking gnuplot-4.2.0-7.fc8.x86_64.rpm as an update to
gnuplot-4.0.0-14.el5.x86_64
...
Resolving Dependencies
There are unfinished transactions remaining. You mightconsider running
yum-complete-transaction first to finish them.
--> Running transaction check
---> Package gnuplot.x86_64 0:4.2.0-7.fc8 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.7)(64bit) for package:
gnuplot
--> Finished Dependency Resolution
gnuplot-4.2.0-7.fc8.x86_64 from gnuplot-4.2.0-7.fc8.x86_64.rpm has
depsolving problems
  --> Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by
package gnuplot-4.2.0-7.fc8.x86_64 (gnuplot-4.2.0-7.fc8.x86_64.rpm)
Error: Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by
package gnuplot-4.2.0-7.fc8.x86_64 (gnuplot-4.2.0-7.fc8.x86_64.rpm)
address@hidden gnuplot]#

but

address@hidden gnuplot]# ldconfig -p | grep libc.so.6
        libc.so.6 (libc6,x86-64, OS ABI: Linux 2.6.9) =>
/lib64/libc.so.6
        libc.so.6 (libc6, hwcap: 0x0018000000000000, OS ABI: Linux
2.6.9) => /lib/i686/nosegneg/libc.so.6
        libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
_______________________snip____________________________________---

On 5/4/09, John B. Thoo <address@hidden> wrote:

 On May 4, 2009, at 12:02 PM, Jonathan Webster wrote:


Hello,

I now have Octave, version 3.0.1 running on a CentOS box upgraded to
CentOS 5.3.
2.6.18-128.1.1.el5xen #1 SMP Wed Mar 25 18:54:34 EDT 2009 x86_64

At startup octave acknowledges
Octave was configured for "x86_64-redhat-linux-gnu".

If I start gnuplot from the bash prompt it proclaims

G N U P L O T
       Version 4.0 patchlevel 0
       last modified Thu Apr 15 14:44:22 CEST 2004
       System: Linux 2.6.18-128.1.1.el5xen

In octave plotting makes a new plot window and a nice plot.   but
complains.

octave:2> clear
octave:3> xx =  0:.1:10;
octave:4> yy = xx .^ 3;
octave:5> plot(xx,yy)
        line 0: undefined variable: in

        line 0: undefined variable: in

        line 0: undefined variable: in

        line 0: undefined variable: lw

octave:6> print -dps foo4.ps
warning: isstr is obsolete and will be removed from a future version
of Octave, please use ischar instead
warning: __gnuplot_raw__: this function is obsolete and will be
removed from a future version of Octave
warning: __gnuplot_replot__: this function is obsolete and will be
removed from a future version of Octave
octave:7>

The file is created but there is nothing in it

$ ls -l foo*
-rw-rw-r-- 1 jcw jcw 0 May  4 14:57 foo4.ps

TIA,

Jonathan


I'm sorry I don't have an answer for you, but, to provide another data
point, I managed your commands without Octave complaining.

 octave-3.0.5:12> xx = 0:.1:10;
 octave-3.0.5:13> yy = xx .^ 3;
 octave-3.0.5:14> plot (xx, yy)
 octave-3.0.5:15> print -dps foo4.ps
 octave-3.0.5:16>

I'm using Octave 3.0.5 and gnuplot 4.2 patchlevel 5 on Mac OS X 10.4.11.

 ---John.


reply via email to

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