bugGNU Octave - Bugs: bug #46035, annotation() generates an error

 
 

bug #46035: annotation() generates an error

Submitter:  Francesco Potortì <pot>
Submitted:  Wed 23 Sep 2015 11:58:22 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 26 Sep 2015 09:31:35 AM UTC, comment #2: 
Pantxo Diribarne <pantxo>
Group Member
Wed 23 Sep 2015 02:53:46 PM UTC, comment #1: 

Hi,

I think that those ui-objects that are not implemented in gnuplot graphics toolkit should simply be ignored when drawing the figure. This is what fltk, which doesn't have uimenu features, does. It will avoid cluttering annotation function with graphics_toolkit specific code.

Pantxo Diribarne <pantxo>
Group Member
Wed 23 Sep 2015 11:58:22 AM UTC, original submission:  

When calling annotation, an error is signaled.  nonetheless, the rectangle is drawn on the figure.


$ octave   --no-site-file   --no-init-file --no-gui
GNU Octave, version 4.0.0
...

>> graphics_toolkit gnuplot
>> plot(1:2)
>> annotation('rectangle', [0.75 0.5 0.2 0.2]);

error: _go_draw_figure_: unknown object class, uicontextmenu
error: called from
    _go_draw_figure_ at line 187 column 13
    _gnuplot_drawnow_ at line 86 column 5

Francesco Potortì <pot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by pot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-26 pantxo StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-09-23 pantxo StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code