|
From: | Fredrik Lingvall |
Subject: | Re: image.m and gnuplot 4 |
Date: | Mon, 14 Mar 2005 08:52:19 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Gorazd Brumen wrote:
Hi, me again, I was a bit too euphoric the first time.I managed to correct the script image.m to get what I wanted (the beautifulworld of GPL) and I tried to post a correction of the script, but was unsuccessful (in correcting, not attaching the script). 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). 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |