[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43907] OpenGL render code called even when gn
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit |
Date: |
Tue, 23 Jun 2015 22:11:49 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #5, bug #43907 (project octave):
I'm not sure about the yes/no question. I tend to not like CLI commands to
not pause so that they may be run in batch mode.
With a bit more investigation, I think this isn't as big an issue as first
thought. The figure seems to behave according to the setting of the
___graphics_toolkit___ property. Try, for example, from a fresh launch:
figure (1)
graphics_toolkit ('gnuplot')
text (0.5, 0.5, 'HI', 'fontname', 'arial')
set (1, '__graphics_toolkit__', 'qt')
set (1, '__graphics_toolkit__', 'gnuplot')
I'm seeing the figure window close and then reopen with the new toolkit with
the "set()" commands. I kind of like that, as it lets the user experiement a
bit with different graphics toolkits. I.e., have an example of both up at the
same time.
In any case, with this behavior it is simply a matter of going through the
list of figures and changing the property ___graphics_toolkit___ to whatever
the input of "graphics_toolkit(<input>)" is. How about an option for
graphics_toolkit()?
Currently the documentation indicates changing the NAME only changes the
default. If handles HLIST are input, then only the figures associated are
changed but not the default. It seems there should be a way to change all at
once. How about
graphics_toolkit ([], NAME)
graphics_toolkit (NAME, [])
Changes both the default toolkit and all open figures?
NOTE: There is a bug present in the code. If "figure()" is not called
initially after launch, a new toolkit name is not recognized:
>> graphics_toolkit ('gnuplot')
>> text (0.5, 0.5, 'HI', 'fontname', 'arial')
>> set (1, '__graphics_toolkit__', 'qt')
error: set___graphics_toolkit__: invalid graphics toolkit
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43907>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/22
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Michael Godfrey, 2015/06/22
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/22
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Michael Godfrey, 2015/06/23
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit,
Dan Sebald <=
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/23
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Michael Godfrey, 2015/06/23
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Michael Godfrey, 2015/06/23
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/24
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Rik, 2015/06/24
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/29
- [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit, Dan Sebald, 2015/06/30