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

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

[Octave-bug-tracker] [bug #31305] slow contour plot


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31305] slow contour plot
Date: Tue, 28 Jun 2011 16:28:50 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30

Follow-up Comment #52, bug #31305 (project octave):

Ok. My apologies, I applied the patch to the default branch, but did not try
to do so on the stable branch. I've tried that now and encountered the same
error as did Gilberto. The patch can be applied if the portion below ...


114 @@ -3413,6 +3418,12 @@
115            calc_ticklabels (ztick, zticklabel, zscale.is ("log"));
116        }
117 
118 +    void update_font (void);
119 +    void update_fontname (void) { update_font (); }
120 +    void update_fontsize (void) { update_font (); }
121 +    void update_fontangle (void) { update_font (); }
122 +    void update_fontweight (void) { update_font (); }
123 +
124      void sync_positions (const Matrix& linset);
125      void sync_positions (void);
126 
127 @@ -3716,7 +3727,7 @@


Is changed to ...


114 @@ -3413,6 +3418,12 @@
115            calc_ticklabels (ztick, zticklabel, zscale.is ("log"));
116        }
117 
118 +    void update_font (void);
119 +    void update_fontname (void) { update_font (); }
120 +    void update_fontsize (void) { update_font (); }
121 +    void update_fontangle (void) { update_font (); }
122 +    void update_fontweight (void) { update_font (); }
123 +
124      void sync_positions (void);
125      void sync_positions (void);
126 
127 @@ -3716,7 +3727,7 @@


With this change (line 124 only), the time required for "tic ; contour (rand
(20)) ; toc" drops from about 60 sec a bit less than 4 sec.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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