octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48667] Colormap not controllable at the axes


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48667] Colormap not controllable at the axes level
Date: Tue, 23 May 2017 21:29:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #16, bug #48667 (project octave):

I've downloaded the latest code and compiled.  I certainly prefer this
behavior, as I'm sure many will like this.

There are a couple issues when I try the first set of commands in the original
post:

1) In gnuplot graphics toolkit the color

>> get(gca, 'colormap')
ans =

   1   0   0
   0   1   0

is coming out as binary black and white rather than red-green.  That seems
like something I need to fix in gnuplot script functions.  Should I open a new
bug report for that, or just attach a patch file here?

2) When I switch to 'fltk' graphics toolkit, the GUI command line output
freezes here:


>> graphics_toolkit ('fltk')
>> demo('image', 1);
image example 1:
 clf;
 colormap (jet (21));
 img = 1 ./ hilb (11);
 x = y = -5:5;
 subplot (2,2,1);
  h = image (x, y, img);
  ylabel ("limits = [-5.5, 5.5]");
  title ("image (x, y, img)");
 subplot (2,2,2);
  h = image (-x, y, img);
  title ("image (-x, y, img)");
 subplot (2,2,3);
  h = image (x, -y, img);
  title ("image (x, -y, img)");
  ylabel ("limits = [-5.5, 5.5]");
 subplot (2,2,4);
  h = image (-x, -y, img);
  title ("image (-x, -y, img)");



The window will still accept commands and I see a red/green binary image in
the lower-right corner.  'exit' will exit properly as well.  It's just that
the keystrokes don't appear in the window.

With the --no-gui option the command line output does not freeze.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48667>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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