Thu 14 Mar 2013 03:02:00 AM UTC, comment #11:
This bug report is for an ancient version of Octave which is no longer supported. Closing report.
|
Thu 02 Feb 2012 04:21:15 PM UTC, comment #10:
Ah ok, thanks for posting that. I look forward to the update if and when it is implemented.
|
Thu 02 Feb 2012 02:13:57 AM UTC, comment #9:
I filed a report on sourceforge.
https://sourceforge.net/tracker/?func=detail&aid=3482931&group_id=2888&atid=102888
My prior comment was truncated due to my sloopy typing skils. I'll repeat myself below.
The error below indicates a problem with ghostscript.
My guess is that ghostscript isn't installed on Daniel's Mac.
I checked the DMG built on April 20, 2011, ghostscript isn't included.
Looks to me like epstool, pstoedit, and fig2dev are also missing.
|
Thu 02 Feb 2012 02:06:02 AM UTC, comment #8:
The error below indicates a problem with ghostscript.
|
Wed 01 Feb 2012 06:20:51 PM UTC, comment #7:
Sorry, maybe its the fltk kit or something; heres the response i got when I used it:
octave-3.4.0:13> drawnow("x11","/dev/null",false,"debug.gp")
error: fltk_graphics_toolkit: filename should be fid
Either way, the 3.2.3 release works for me great . No thanks on maintaining the dmg distribution - thanks though.
|
Wed 01 Feb 2012 05:33:24 PM UTC, comment #6:
> Also, draw now requires the filename string at the end to be
> an FID, as opposed to a string'd name.
What?
No it doesn't:
http://hg.savannah.gnu.org/hgweb/octave/file/2848dd7c4dd7/src/graphics.cc#l7506
That's from the 3.4.0 release you're using. So what gave you the idea that it needed an FID?
Can you try using a different build for Macintosh OS? The Macports package is receiving a lot more maintenance nowadays than that .dmg (sorry). We haven't had a lot of people step up to maintain that .dmg; do you want to do it yourself?
|
Wed 01 Feb 2012 05:24:26 PM UTC, comment #5:
Yeah I tried changing the graphics toolkit to FLTK with no luck, with gnu plot or fltk i get the same result when using something simple like "print foo.jpg":
sh: -dQUIET: command not found
warning: broken pipe -- some output may be lost
Also, draw now requires the filename string at the end to be an FID, as opposed to a string'd name. Not sure how to do that to test your other theory. But either way, no luck.
|
Wed 01 Feb 2012 04:42:49 PM UTC, comment #4:
Oh, a few more ideas.
Could you try without the tilde expansion? ("foo.jpg", not "~/foo.jpg")
If you're using gnuplot, could you please produce debug output? Do
Also try without giving an explicit figure handle, just
|
Wed 01 Feb 2012 04:37:23 PM UTC, comment #3:
So that's 3.4.0, right? I don't think anyone has made a 3.4.3 .dmg yet.
And I imagine it's with gnuplot, right? If you use fltk (enable with "graphics_toolkit fltk"), does the problem persist?
|
Wed 01 Feb 2012 04:31:31 PM UTC, comment #2:
Used the .dmg installer from http://octave.sourceforge.net/ and dragged and dropped Octave.app into my applications folder (standard method for mac osx application install)
|
Wed 01 Feb 2012 05:15:24 AM UTC, comment #1:
How did you install Octave?
|
Tue 31 Jan 2012 05:27:39 PM UTC, original submission:
When I try to print a figure to a standard format (.pdf, .jpg, .tiff, etc) using the print command:
print(figure(1),'~/test.jpg')
The figure is never saved or printed as that file in the directory I specified. Instead, I get an error message:
sh: -dQUIET: command not found
However, the print command works with a few random file types (like svg, eps). This was not an issue in the Octave 3.2.3 release I have been using for a long time now but with the new release this is a big problem.
|