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 gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Steve HagemanOriginator Email: -unavailable-
Open/Closed: OpenRelease: 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)

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 Member
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.

Anonymous
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 Member
Sat 08 Feb 2014 08:52:10 AM UTC, 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 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).

Anonymous
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.

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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Feb 2014 10:13:42 PM UTCmtmillerSummarySave Plot does not work=>Save Plot in gnuplot windows terminal does not work
    Sun 09 Feb 2014 07:42:22 PM UTCmtmillerStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup