octave-maintainers
[Top][All Lists]
Advanced

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

Re: graphics-branch in CVS


From: John W. Eaton
Subject: Re: graphics-branch in CVS
Date: Wed, 31 Jan 2007 16:24:55 -0500

On 31-Jan-2007, Søren Hauberg wrote:

| John W. Eaton skrev:
| > On 31-Jan-2007, Søren Hauberg wrote:
| > 
| > | John W. Eaton skrev:
| > | > The following patch should get you past this problem.
| > | It brings me past the problem and straight into another:
| > | 
| > | octave:4> imshow(rand(100))
| > | error: `__gnuplot_version__' undefined near line 74 column 23
| > 
| > | I guess I just need __gnuplot_version__ ?
| > 
| > Yes, it was accidentally deleted from the CVS archive.  I didn't
| > notice because I was picking up a copy from another directory.  I
| > checked it in again, so you should get it if you update.
| Great I can now show images. However, the images doesn't appear to be 
| correctly shown. If I type "imshow(rand(100))" I should see a gray-scale 
| image of random colors, but I see a color image.

I'm not sure of the proper way to fix this bug.  I suppose imshow should
set some property to say that the image is greyscale instead of color,
but I'm not sure which properies to set.

| I'm not sure anything needs fixing, I just found it to be odd that you 
| have drawnow inside the drawing functions and also call it before the 
| user gets control of the prompt. Seems like you do the same thing twice 
| then.

I removed the call to drawnow in image.m.

jwe



reply via email to

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