[Top][All Lists]

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

[Octave-bug-tracker] [bug #56452] No longer able to switch existing plot

From: Rik
Subject: [Octave-bug-tracker] [bug #56452] No longer able to switch existing plot from 'qt' toolkit to 'gnuplot' toolkit
Date: Thu, 6 Jun 2019 13:44:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko


                 Summary: No longer able to switch existing plot from 'qt'
toolkit to 'gnuplot' toolkit
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 06 Jun 2019 10:44:50 AM PDT
                Category: Plotting with gnuplot
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



The graphics_toolkit() function can be used to switch an existing plot from
one backend to another.  However, this is no longer true for 'qt' plots which
have a uitoolbar object.

This isn't tragic as I don't believe the functionality is used often.  And
gnuplot is no longer a preferred backend for plotting.  Still, if it was easy
to restore functionality we should.

Sample code

close all
graphics_toolkit ("qt");
hf = figure;
plot (1:10, "o-");
graphics_toolkit (hf, "gnuplot")
error: __gnuplot_draw_figure__: unknown object class, uitoolbar
error: called from
    __gnuplot_draw_figure__ at line 179 column 13
    __gnuplot_drawnow__ at line 86 column 5


Reply to this item at:


  Message sent via Savannah

reply via email to

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