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

 
 

bug #46035: annotation() generates an error

Submitted by:  Francesco Potortì <pot>
Submitted on:  Wed 23 Sep 2015 11:58:22 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Sep 2015 09:31:35 AM UTC, comment #2:

I pushed a fix here:

http://hg.savannah.gnu.org/hgweb/octave/rev/4479d73eac72

Closing report

Pantxo Diribarne <pantxo>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Sep 2015 09:31:35 AM UTCpantxoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 23 Sep 2015 02:55:12 PM UTCpantxoStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1