[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55908] Closing 2D plots much slower in Octave
From: |
anonyme |
Subject: |
[Octave-bug-tracker] [bug #55908] Closing 2D plots much slower in Octave 5.1.0 |
Date: |
Wed, 13 Mar 2019 05:22:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0 |
URL:
<https://savannah.gnu.org/bugs/?55908>
Summary: Closing 2D plots much slower in Octave 5.1.0
Project: GNU Octave
Submitted by: None
Submitted on: mer. 13 mars 2019 09:22:10 UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
For 2D plots, closing a figure takes a very long time in Octave 5.1.0, while
it only takes a fraction of second in Octave 4.4.1.
Here is a test, to reproduce the issue:
1. Plot a (rather complex) 2D figure with contours and labels:
x = [-1 : 0.05 : 10];
y = [-1 : 0.05 : 10];
z = sin(x') * cos(y);
figure(1);
[c, h] = contour(x, y, z, [-1 : 0.03 : 1]);
clabel(c, h, 'FontSize', 15, 'Color', 'k');
2. Close the figure:
tic; close(1); toc
Here are the timings for close():
Octave 4.4.1
------------
Windows 7 64 bits => 0.1 s
Ubuntu Linux 18.04 64 bits => 0.2 s
Octave 5.1.0
------------
Windows 7 64 bits => 14 s
Ubuntu Linux 18.04 64 bits => 12 s
As you see, closing the figure is nearly 100 times slower in Octave 5.1.0.
I also noticed that plotting the figure is ~20% slower in Octave 5.1.0.
Closing a simple 1D plot, doesn't have the issue, as far I can tell...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55908>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55908] Closing 2D plots much slower in Octave 5.1.0,
anonyme <=
- [Octave-bug-tracker] [bug #55908] Closing 2D plots much slower in Octave 5.1.0, Pantxo Diribarne, 2019/03/13
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Rik, 2019/03/13
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Pantxo Diribarne, 2019/03/13
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Pantxo Diribarne, 2019/03/13
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Roland Baudin, 2019/03/15
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Markus Mützel, 2019/03/16
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Markus Mützel, 2019/03/16
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Markus Mützel, 2019/03/17
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Markus Mützel, 2019/03/17
- [Octave-bug-tracker] [bug #55908] Closing plots much slower in Octave 5.1.0, Dmitri A. Sergatskov, 2019/03/17