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 Feb 7 03:46:57 2014  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Steve HagemanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu May 29 01:59:52 2014, 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 Apr 6 22:04:28 2014, 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 Feb 9 22:13:42 2014, 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 Feb 9 21:33:35 2014, comment #4:

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

Anonymous
Sun Feb 9 19:42:22 2014, 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 Feb 8 08:52:10 2014, comment #2:

Hi. This doesn't occur to me. I tried
plot(1:10,sin(1:10));

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

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

Alex Feng <looopass>
Fri Feb 7 13:02:57 2014, comment #1:

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

Anonymous
Fri Feb 7 03:46:57 2014, 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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to 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 May 29 01:59:52 2014mtmillerOpen/ClosedOpen=>Closed
    Sun Feb 9 22:13:42 2014mtmillerSummarySave Plot does not work=>Save Plot in gnuplot windows terminal does not work
    Sun Feb 9 19:42:22 2014mtmillerStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup