[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with image and imagesc
From: |
Randall M. Brannan |
Subject: |
Problems with image and imagesc |
Date: |
Thu, 2 Feb 95 09:09:55 PST |
I haven't been able to get either image or imagesc to work. It seems the
program can't find the map. Does anybody know how to fix this? Is there
some environment variable I should set? I'm using a SPARC-10 running the
latest precompiled binary version of Octave 1.1.0 for SunOS 4.1.2
available from ftp.che.utexas.edu. Here are 2 simple examples of the
problem:
1)
rome% octave
Octave, version 1.1.0. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.
octave:1> A=rand(4,3)
A =
0.8167780 0.0033595 0.3337919
0.0147679 0.9985918 0.0194999
0.7154956 0.9428148 0.2662941
0.3220010 0.7018176 0.3538278
octave:2> colormap(gray);
octave:3> imagesc(A);
usage: colormap (map)
error: called from `colormap' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/colormap.m'
error: evaluating argument list element number 0
error: evaluating argument list element number 0
error: called from `imagesc' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/imagesc.m'
octave:4>
2)
rome% octave
Octave, version 1.1.0. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.
octave:1> A=rand(4,3)
A =
0.816717 0.133652 0.732107
0.097046 0.208971 0.309729
0.679877 0.219302 0.673065
0.607508 0.043678 0.215330
octave:2> imagesc(A);
usage: colormap (map)
error: called from `colormap' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/colormap.m'
error: called from `saveimage' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/saveimage.m'
error: called from `image' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/image.m'
error: called from `imagesc' in file
`/home/london/brannan/octave/code/octave-1.1.0/scripts/image/imagesc.m'
octave:3>
- Problems with image and imagesc,
Randall M. Brannan <=