From help-request at octave dot org Sun Mar 13 14:09:34 2005 Subject: Re: image.m and gnuplot 4 From: Gorazd Brumen To: help at octave dot org Date: Sun, 13 Mar 2005 21:14:37 +0100 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 beautiful world 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? gorazd Gorazd Brumen wrote: > I just want to express my appreciation for this script. I needed just that. > Thanks a lot, > Gorazd > > John W. Eaton wrote: > >> On 9-Mar-2005, Fredrik Lingvall wrote: >> >> | Is that a problem only for 2D plots (images)? From what I can see >> | mesh.m (3D) also changes some gnuplot settings which could interfere >> | with prior gset commands. Moreover, plot (1D) sets: >> | | gset nologscale >> | gset nopolar >> >> Yes, I think all these are potential problems because they alter the >> state of the plotting system not only for the current plot, but also >> for subsequent plots. >> >> we >> >> >> >> ------------------------------------------------------------- >> 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: brumen at isb dot unizh dot ch 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 -------------------------------------------------------------