Wed 22 Mar 2017 10:13:10 PM UTC, comment #11:
I run "dump_plot_demos" with a recent snapshot
(HG ID for this build is "4adb9517d56a")
and it is noticeably slower in plotting and printing with GL
backend (I tried fltk) than 4.2.1. E.g.
4.2.1:
Printing "isosurface_01.png" ... [0.159536 1.049953] done
...
Printing "light_04.png" ... [1.107391 45.229747] done
4.3.0+:
Printing "isosurface_01.png" ... [0.191811 1.172609] done
...
Printing "light_04.png" ... [1.320802 52.687926] done
So it looks like there is ~20% slowdown due to octave's code...
Dmitri.
|
Sun 19 Mar 2017 03:42:07 PM UTC, comment #10:
I ran Octave under the debugger and the line consuming all of the time was libinterp/corefcn/gl2ps-print.cc:299
|
Mon 13 Mar 2017 03:09:22 PM UTC, comment #9:
Re-titling bug report and marking as confirmed. Probably need to run Octave under a debugger and figure out what, exactly, it is doing that is taking so long for certain plots.
|
Mon 13 Mar 2017 08:59:37 AM UTC, comment #8:
It is windows 10, 64 bit octave.
You are probably right that it does not crash but just takes very long to finish.
I tried k=6 on my machine, it takes 387 seconds.
|
Sun 12 Mar 2017 10:28:44 PM UTC, comment #7:
I am seeing what appears to be very long execution times, not a crash, when using one of the OpenGL toolkits.
On Linux with the qt toolkit I see times of
k = 5 : 5 seconds
k = 6 : 198 seconds
I didn't try k=7 because it might have been in the hour range.
By contrast, the gnuplot toolkit is much better. I can even get to k = 8 with only a 7 second print time.
On Windows XP I can do k=7, but not k=8 with the gnuplot toolkit. For k=8 I get this message
|
Sun 12 Mar 2017 09:05:13 PM UTC, comment #6:
Actually, I may be seeing something after repeated testing. Does Octave actually crash, or does it just hang with 99% CPU usage at the saveas step?
|
Sun 12 Mar 2017 08:54:52 PM UTC, comment #5:
Just got around to testing this on a Windows XP virtual machine. This works for me. Unfortunately, the problem could be something specific to your system. Windows 10? 64-bit Octave? video HW on your PC? I don't know how to debug it.
|
Sun 05 Mar 2017 10:53:17 PM UTC, comment #4:
Sorry about makin two posts.
This crashes
k = 7;
n = 2^k-1;
[x,y,z] = sphere(n);
c = hadamard(2^k);
figure
hnd = surf(x,y,z,c);
colormap([1 1 0; 0 1 1])
saveas(hnd,'test.png')
|
Sun 05 Mar 2017 10:51:21 PM UTC, comment #3:
Since this has gotten no update since November 2016, I'm updating from Octave 4.2.1 on windows 10.
It seems if the surf has too many points it crashes.
For me this works (quick < 5 seconds) and a png is generated
k = 5;
n = 2^k-1;
[x,y,z] = sphere(n);
c = hadamard(2^k);
figure
hnd = surf(x,y,z,c);
colormap([1 1 0; 0 1 1])
saveas(hnd,'test.png')
|
Wed 16 Nov 2016 06:38:35 PM UTC, comment #2:
Octave 4.2.0 has recently been released (ftp://ftp.gnu.org/gnu/octave). Many bugs have been fixed. Could you try the latest stable version of Octave and report whether this has been fixed or still remains an issue.
|
Sun 30 Oct 2016 11:24:24 PM UTC, comment #1:
This is Windows 10.
|
Sun 30 Oct 2016 11:23:05 PM UTC, original submission:
Plot a graph using scatter3;
save file using GUI or script.
Simple script like this reproduced the issue. Input files are attached.
graphics_toolkit('gnuplot')
P = dlmread('P.txt');
Q = dlmread('Q.txt');
clf();
figure(1);
plot3(P(1,:),P(2,:),P(3,:), '.r', Q(1,:),Q(2,:),Q(3,:), '.b');
saveas(1, 'before_icp.png');
|