bugGNU Octave - Bugs: bug #41490, Save Plot in gnuplot windows...


bug #41490: Save Plot in gnuplot windows terminal does not work

Submitted by:  None
Submitted on:  Fri 07 Feb 2014 03:46:57 AM UTC  
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Steve Hageman Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.8.0
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Thu 29 May 2014 01:59:52 AM UTC, comment #7:

I don't fully understand all the issues with printing plots in Windows and the interactions described by Philip, but closing as "works for me" as suggested. If this problem is still present, please feel free to comment again or reopen this bug.

Mike Miller <mtmiller>
Project Administrator
Sun 06 Apr 2014 10:04:28 PM UTC, comment #6:

I just tried this & the sequence in bug #42060 in a freshly built & installed 3.8.1 on WinXP (MXE-cross-built).

After clicking the print button on the gnuplot window, or the "Options|Save as EMF" dialog, gnuplot freezes (Octave doesn't).
Then, after entering a "close" command in Octave, gnuplot revives and I get a file dialog (this bug) or a few print dialogs (bug #42060).
As to printing, that's about it. No print ever appears, not even my default print preview window.
As to saving an EMF file, that works for me.

But then it occurred to me to add the ghostscript \bin subdir to the PATH (note to the OP: gs should be in a path w/o spaces).
Then after restarting Octave, printing worked OK as well.

The only glitch is that gnuplot freezes until -I suppose- the pipe to gnuplot is terminated.

So I think this bug can be closed with a "works for me" or maybe even an "invalid".

Note that Tatsuro mentioned a while ago that gnuplot in MXE has been built w/o (IIRC:) wxt or cairo support (can't find his post). Could that be related?

Philip Nienhuis <philipnienhuis>
Project Member
Sun 09 Feb 2014 10:13:42 PM UTC, comment #5:

Thanks for clarifying. As I said, I can't test on Windows at the moment, but note that the recommended way to save plots in Octave is to use the print or save commands in the Octave interpreter itself, not in the gnuplot window. I don't know whether this is expected to work when using gnuplot from Octave on Windows.

Mike Miller <mtmiller>
Project Administrator
Sun 09 Feb 2014 09:33:35 PM UTC, comment #4:

The original report was for Win XP using GNU Plot. Which otherwise seems to run perfectly.

Sun 09 Feb 2014 07:42:22 PM UTC, comment #3:

Marking as "works for me" based on comment #2. I can't test in Windows at the moment.

Can the OP clarify whether the failure to save the plot was with the gnuplot or fltk plotting backend?

Mike Miller <mtmiller>
Project Administrator
Sat 08 Feb 2014 08:52:10 AM UTC, comment #2:

Hi. This doesn't occur to me. I tried

And then, I could either save it as png or pdf, without any crash or error you guys mentioned.

OS: windows 7 64bit,
Octave: 3.8. (mxe build 3.8.0-5-portable)

Alex Feng <looopass>
Fri 07 Feb 2014 01:02:57 PM UTC, comment #1:

For me, on Windows 7 x64 with FLTK plot window this causes a crash of Octave (mxe build)(Octave is immediatly closed).

Fri 07 Feb 2014 03:46:57 AM UTC, original submission:

Windows XP - Make a plot, press Save As on the plot GUI, the dialog loads properly, select a file and path, say save and... Nothing. No crash, but no plot is saved on the disk either.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by looopass (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Thu 29 May 2014 01:59:52 AM UTC mtmiller Open/ClosedOpen => Closed
    Sun 09 Feb 2014 10:13:42 PM UTC mtmiller SummarySave Plot does not work => Save Plot in gnuplot windows terminal does not work
    Sun 09 Feb 2014 07:42:22 PM UTC mtmiller StatusNone => Works For Me

    Back to the top

    Powered by Savane 3.3