help-octave
[Top][All Lists]
Advanced

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

Saving of plots very slow on Windows 7 / MinGW version


From: Chera
Subject: Saving of plots very slow on Windows 7 / MinGW version
Date: Tue, 15 Jan 2013 05:16:00 -0800 (PST)

Hello

I'm using Octave 3.6.1 gcc 4.6.2 under Windows 7

Saving standard 2D Plots  of about 200k datapoints ( by either using print()
or saveas() ) is extremly slow (often takes more than 15min) but eventually
the output file is created properly. During this time Ocatave is completely
unresponsive. 

Here the an example plot command, really nothing out of the ordinary:

pressurePlot = figure(1);
semilogy(StahlStahlReferenz.t,StahlStahlReferenz.p,StahlStahlReferenz.tFiltered,StahlStahlReferenz.leakRateFiltered,t,p,tFiltered,leakRateFiltered)
        ylim([1e-10,1]);
        xlabel('Time [min]');
        ylabel('Pressure [mbar]');
        legend('Pressure Reference [mbar]','Leakage Rate Reference
[mbar*l/s]','Pressure [mbar]','Leakage Rate
[mbar*l/s]','location','eastoutside');
        grid minor;

print -dpdf ./Measurement.pdf

Saving seems to be slow independent of what output format is chosen, I tried
ps,eps,pdf,png,svg and more.

Here is the output of the print -debug command

octave:10> print -dpdf -debug ./Measurement.pdf
---- begin C:\Users\ssi\AppData\Local\Temp\oct-2.ps ----
%!PS-Adobe-3.0
<< /Margins [0 0] /.HWMargins [0 0 0 0] /PageOffset [18 180] >>
setpagedevice
%%EOF
----- end C:\Users\ssi\AppData\Local\Temp\oct-2.ps -----
Ghostscript command:
'C:\Users\ssi\Octave\Octave361_gcc462\gs\gs9.04\bin/gswin32c.exe -dQUIET
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dEmbedAllFo
nts=true -dOptimize=true -dEPSCrop -sPAPERSIZE=letter -dFIXEDMEDIA
-sOutputFile=./Measurement.pdf C:\Users\ssi\AppData\Local\Temp\oct-2.ps -'
fltk-pipeline:
'C:\Users\ssi\Octave\Octave361_gcc462\gs\gs9.04\bin/gswin32c.exe -dQUIET
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dEmbedAllFonts=tr
ue -dOptimize=true -dEPSCrop -sPAPERSIZE=letter -dFIXEDMEDIA
-sOutputFile=./Measurement.pdf C:\Users\ssi\AppData\Local\Temp\oct-2.ps - &
rm C:\Users\s
si\AppData\Local\Temp\oct-2.ps'

As far as I can tell everything looks in order, I'm using the ghostscript
executable distributed with this octave version.

Any Idea what might cause this?




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Saving-of-plots-very-slow-on-Windows-7-MinGW-version-tp4648878.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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