help-octave
[Top][All Lists]
Advanced

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

Re: Where is "colororder" defined?


From: Samarkand
Subject: Re: Where is "colororder" defined?
Date: Thu, 2 Oct 2008 10:56:47 -0700 (PDT)



John W. Eaton wrote:
> 
> On  2-Oct-2008, Samarkand wrote:
> 
> | > To verify that this is the problem, I suggest that you start Octave in
> | > your home directory and type the following commands:
> | > 
> | >   which plot
> | >   path
> | > 
> | > Is the plot function coming from the 3.0.0 directory tree?
> | > 
> | > Does the output of path list the system directories for the 3.0.0
> | > version?
> | > 
> | > What is in your ~/.octaverc file?
> | > 
> | > jwe
> | > _______________________________________________
> | > Help-octave mailing list
> | > address@hidden
> | > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> | > 
> | > 
> | 
> | Many thanks John.
> | 
> | I can't see any obvious evidence of using the 3.0.0. tree, here's the
> output
> | from your suggestion:
> | 
> | ==================================================================
> | address@hidden ~]# cd ~ 
> | address@hidden ~]# octave 
> | GNU Octave, version 3.0.3 
> | Copyright (C) 2008 John W. Eaton and others. 
> | 
> | Preamble removed for
> | clarity........................................................
> | 
> | octave:1> which plot 
> | plot is the user-defined function from the file 
> | /usr/local/share/octave/3.0.3/m/plot/plot.m 
> | octave:2> path 
> |  
> | Octave's search path contains the following directories: 
> | /usr/local/share/octave/3.0.3/m/testfun
> | /usr/local/share/octave/3.0.3/m/control/base 
> | .
> | ETC (all pointing to the 3.0.3 tree)
> | .
> | /usr/local/share/octave/3.0.3/m/plot
> | .
> | ETC (all pointing to the 3.0.3 tree)
> | . 
> |  
> | octave:3> get (gca,"colororder") 
> | warning: get: invalid property `colororder' 
> | octave:4>  
> | =============================================================
> | 
> | On your question of my .octaverc file well interestingly there is no
> such
> | file on my system so am using the default environment I guess.
> 
> What does
> 
>   which octave
> 
> or
> 
>   type octave
> 
> at the shell prompt tell you?
> 
> Using that result, what does
> 
>   ldd /path/to/octave
> 
> show?
> 
> As you are the only person who has reported this problem, and given
> that it is a pretty obvious problem that just about anyone trying to
> plot anything would notice, I highly suspect something is wrong with
> your installation.
> 
> But where did you get Octave 3.0.3?  I don't think the release has
> been announced yet.  So which release candidate are you using?  How
> did you build it?
> 
> Can anyone else who has been testing the release candidates confirm
> this problem?
> 
> Is your installed copy of Octave somehow linking with old libraries?
> 
> jwe
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 


Thaks again John, I'm inclined to agree that it is a defect in my
installation so don't let me take any more of your time. For completeness
sake, in answer to your questions:

==============================================
address@hidden log]# which octave 
/usr/local/bin/octave 
address@hidden log]# ldd /usr/local/bin/octave 
        linux-gate.so.1 =>  (0x00110000) 
        liboctinterp.so => /usr/local/lib/octave-3.0.3/liboctinterp.so
(0x00af6000) 
        liboctave.so => /usr/local/lib/octave-3.0.3/liboctave.so
(0x00111000) 
        libcruft.so => /usr/local/lib/octave-3.0.3/libcruft.so (0x00952000) 
        liblapack.so.3 => /usr/lib/atlas/liblapack.so.3 (0x02000000) 
        libblas.so.3 => /usr/lib/atlas/libblas.so.3 (0x02509000) 
        libfftw3.so.3 => /usr/lib/libfftw3.so.3 (0x05751000) 
        libreadline.so.5 => /lib/libreadline.so.5 (0x0099f000) 
        libncurses.so.5 => /lib/libncurses.so.5 (0x053ff000) 
        libdl.so.2 => /lib/libdl.so.2 (0x009d4000) 
        libhdf5.so.0 => /usr/lib/libhdf5.so.0 (0x05474000) 
        libz.so.1 => /lib/libz.so.1 (0x009d9000) 
        libgfortran.so.1 => /usr/lib/libgfortran.so.1 (0x009ec000) 
        libm.so.6 => /lib/libm.so.6 (0x00a6c000) 
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x04a06000) 
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a95000) 
        libc.so.6 => /lib/libc.so.6 (0x014f8000) 
        libpthread.so.0 => /lib/libpthread.so.0 (0x00aa1000) 
        libtinfo.so.5 => /lib/libtinfo.so.5 (0x053e5000) 
        /lib/ld-linux.so.2 (0x00ad9000) 
        libssl.so.6 => /lib/libssl.so.6 (0x03212000) 
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x052b0000) 
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x02f77000) 
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x03ae8000) 
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00aba000) 
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x02e8f000) 
        libresolv.so.2 => /lib/libresolv.so.2 (0x00abd000) 
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x02b46000) 
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x051fd000) 
        libselinux.so.1 => /lib/libselinux.so.1 (0x02d50000) 
address@hidden log]#  

===================================================

I downloaded 3.0.3 rc2 from here
http://www.nabble.com/3.0.3-release-candidate-td19645333.html

And I built it using the supplied instructions. There was a handful of
failures during make check but otherwise all OK.

Incidentally the reason I went to 3.0.3 was because I was having the same
error with colororder with 3.0.0 (per my first post).

As a circumvention to the problem I just cd to the plot directory you can
see below. Plot then works irrespective of the directory I happen to start
Octave from:

address@hidden log]# cat /usr/local/share/octave/site/m/startup/octaverc  
## System-wide startup file for Octave. 
## 
## This file should contain any commands that should be executed each 
## time Octave starts for every user at this site. 
cd /usr/local/share/octave/3.0.3/m/plot/                                 <<<
I just added this to make it work


So unless I can get to the bottom of it I'm happy to live with that.

Thanks again John for your help and you and your colleagues continuing
support for Octave. It is very much appreciated.

Regards...........Chris 


-- 
View this message in context: 
http://www.nabble.com/Where-is-%22colororder%22-defined--tp19759573p19784466.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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