[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modified graphics_toolkit and improved doc-string (was: no fltk)
From: |
Ben Abbott |
Subject: |
Re: modified graphics_toolkit and improved doc-string (was: no fltk) |
Date: |
Mon, 04 Jun 2012 20:58:04 -0400 |
On Jun 4, 2012, at 7:46 AM, Ben Abbott wrote:
> On Jun 3, 2012, at 9:48 PM, Liam Groener wrote:
>
>> On Jun 3, 2012, at 10:01 AM, marco atzeri <address@hidden> wrote:
>>
>>> On 6/1/2012 11:32 PM, Liam Groener wrote:
>>>
>>>> Marco,
>>>> Have you tried entering the command:
>>>> figure
>>>> After changing the graphics_toolkit but before plotting a new figure?
>>>
>>> Oh,
>>> thanks. Never noticed before
>>
>> Actually, I don't think it's at all obvious that a call to figure should be
>> required for a change in the graphics_toolkit to take effect. Ben Abbot was
>> the one who pointed out the requirement to me (with regard to Mac OS X).
>> Should be mentioned in the manual, or maybe the wiki.
>
> Each figure has a property "__graphics_toolkit__" which indicates which
> toolkit it is using.
>
> The following will produce a gnuplot figure and then switch to fltk.
>
> close all
> graphics_toolkit gnuplot
> plot (rand (3))
> graphics_toolkit (1, "fltk")
>
> The same may be done by ...
>
> close all
> graphics_toolkit gnuplot
> plot (rand (3))
> set (1, "__graphics_toolkit__", "fltk")
>
> To switch all figures to gnuplot ...
>
> graphics_toolkit (findobj (0, "type", "figure"), "gnuplot")
>
> The doc-string for graphics_tookit() is a bit minimalistic. Would someone
> like to produce a changeset ?
>
> Ben
I pushed the change below.
http://hg.savannah.gnu.org/hgweb/octave/rev/395d238418a7
Ben
- Re: no fltk, Francesco Potortì, 2012/06/01
- Re: no fltk, Jordi Gutiérrez Hermoso, 2012/06/01
- Re: no fltk, marco atzeri, 2012/06/01
- Re: no fltk, Liam Groener, 2012/06/01
- Re: no fltk, marco atzeri, 2012/06/03
- Re: no fltk, Liam Groener, 2012/06/03
- Re: no fltk, Ben Abbott, 2012/06/04
- Re: modified graphics_toolkit and improved doc-string (was: no fltk),
Ben Abbott <=