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: Fredrik Lingvall
Subject: Re: image.m and gnuplot 4
Date: Mon, 14 Mar 2005 11:26:37 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20050124)

Gorazd Brumen wrote:

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.

Try:

gset nocolorbox

(see also page 72 in the gnuplot 4.1 manual)

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
-------------------------------------------------------------



reply via email to

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