octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43282] annotation function missing


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #43282] annotation function missing
Date: Fri, 13 Feb 2015 17:50:28 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #12, bug #43282 (project octave):

@Rik: I ran the attached script with and without the patch (updated also to
avoid findall function an a few quirks). It basically creates multiple axes on
the same figure. The results are the following:


Without patch
1 axes:         0.01 s
2 axes:         0.02 s
4 axes:         0.03 s
8 axes:         0.07 s
16 axes:        0.14 s
32 axes:        0.27 s   

With patch
1 axes:         0.01 s
2 axes:         0.02 s
4 axes:         0.04 s
8 axes:         0.09 s
16 axes:        0.18 s
32 axes:        0.40 s


There is indeed a performance hit for a large number of axes in a figure. In
the mean time 30 axes in a figure is quite large. 

I also noticed that if annotation function is called first in a figure, it
becomes the currentaxes which should not happen. I updated annotation.m to
take this into account. 
 
@Michael: depends on when feature freeze is declared. Is there a proposed
date? I have no time now to cleanup the new patch but I may be able to post it
in the beginning of next week. Nevertheless if John wants to work on
integration, it will probably look like (or be) the attached
add_annotation2.patch. 



(file #33062, file #33063)
    _______________________________________________________

Additional Item Attachment:

File name: axes_benchmark.m               Size:0 KB
File name: add_annotation2.patch          Size:44 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43282>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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