[Top][All Lists]

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

[Octave-bug-tracker] [bug #52599] gnuplot shows shaded images with imsho

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52599] gnuplot shows shaded images with imshow
Date: Mon, 20 Aug 2018 00:51:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #11, bug #52599 (project octave):

Can you give an example and some screen shots?  Include a screenshot of FLTK
result for the same commands if possible, for comparison.  For example, 

octave:1> colormap(hot)
octave:2> image(triu(ones(256))'*triu(ones(256)))
[screen capture here]
octave:3> colormap(hot(256))
[screen capture here]

See attached PNG examples, for development version and gnuplot 5.3 patchlevel

The gnuplot change was in version 5.2 (from NEWS):

New features introduced to 5.2 in patchlevel releases
* NEW command "set rgbmax <value>" controls interpretation of input RGB

and it would be a simple matter to put a conditional statement in place to
determine if

-    retval = 1 + cdata * (cmap_sz-1)/255;

scaling should be done, but I want to make sure to understand what exactly the
scaling problem is.


Reply to this item at:


  Message sent via Savannah

reply via email to

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