[Top][All Lists]

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

[Octave-bug-tracker] [bug #44050] Saving gnuplot to png/jpg results in g

From: anonymous
Subject: [Octave-bug-tracker] [bug #44050] Saving gnuplot to png/jpg results in ghostscript hanging at 50% CPU
Date: Mon, 19 Jan 2015 20:08:38 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0


                 Summary: Saving gnuplot to png/jpg results in ghostscript
hanging at 50% CPU
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 19 Jan 2015 08:08:37 PM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Krzysztof Zalewski
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux



Ubuntu 14.10 with gnome-shell
To me it only happens if the plot contains a lot of data, in my case 93
thousand samples extracted from wav file using wavread. The plot works just
fine, i was able to plot this data against sample number without issues.

But when I try to "Save as" .png or .jpg, the plot freezes and gs process
appears, hogging ~ 50% of CPU time. Ctrl+C in Octave window restores the plot,
but the save fails.

I am able to save as pdf without issues.

I had some warnings before about epstool and fig2dev missing and before I
installed (using synaptic) epstool, transfig, fig2ps (and it's automatically
suggested dependencies) I had errors "__save_as__ undefined near line (..)"
After I installed those packages I was able to save some other plots.

I believe it is related to size of data being plotted

On my system 
t = 1:1:500000;

Is enough to get the hanging gs process. No errors appear in Octave console. I
do not know where I could look for more information/logs/errors about the


File Attachments:

Date: Mon 19 Jan 2015 08:08:37 PM UTC  Name: Desktop.pdf  Size: 473kB   By:
The plot saved in pdf


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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