help-octave
[Top][All Lists]
Advanced

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

Re: image.m and gnuplot 4


From: Gorazd Brumen
Subject: Re: image.m and gnuplot 4
Date: Mon, 14 Mar 2005 10:54:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Hi,


Fredrik Lingvall wrote:
The improvement that I see should be made in the two commands
gset cbrange [0:64], to allow for any color range. If one has
a function that takes only values 1 and 0, the plot is just black.
How can one dynamically change the cbrange?


Alt 1: Multiply the function by 64.

Alt 2: Use imagesc (which auto scales the image and then calls image.m).


both alternatives maintain the scale on the right till 64. If you have a 0-1 function I dont want that the 1 values are labeled 64 on the color scale. Can I at least remove the color bar on
the right? With 0-1 functions it is not really necessary.

Thanks,
g.

Fredrik



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



--
Gorazd Brumen
Mail: address@hidden
WWW: http://valjhun.fmf.uni-lj.si/~brumen
PGP: Key at http://pgp.mit.edu, ID BCC93240



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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