From: SourceForge.net <no...@so...> - 2008-02-06 05:14:13
|
Bugs item #1732298, was opened at 2007-06-06 12:47 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1732298&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: To be reviewed >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Ted Woollett (woollett) Assigned to: Vadim V. Zhytnikov (vvzhy) Summary: postscript eps file error Initial Comment: use of standard eps file generation, as in: (%i2) plot2d( sin(x),[x,-%pi, %pi] ,[gnuplot_term,ps], [gnuplot_out_file,"c:/work2/test2.eps" ] ) $ Output file "c:/work2/test2.eps". results in the generation of test2.eps which is 2kb and contains no plot instructions. The end of the file has an apparent error message(? I am no expert in postscript language ): ... /hpt hpt_ def /vpt vpt_ def Level1 {} { /SDict 10 dict def systemdict /pdfmark known not { userdict /pdfmark systemdict /cleartomark get put } if SDict begin [ /Title (c:/work2/test2.eps) /Subject (gnuplot plot) /Creator (gnuplot 4.2 patchlevel 0) /Author (Edwin Woollett) % /Producer (gnuplot) % /Keywords () /CreationDate (Wed Jun 06 10:38:32 2007) /DOCINFO pdfmark end } ifelse When viewed with gsview32, there in no plot. Direct use of wguplot32 software results in a file of size about 14 kb. This error observed with both v 5.11.xx and 5.12: My build info: Maxima version: 5.12.0 Maxima build date: 19:33 5/3/2007 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 Edwin (Ted) Woollett ---------------------------------------------------------------------- >Comment By: Robert Dodier (robert_dodier) Date: 2008-02-05 22:14 Message: Logged In: YES user_id=501686 Originator: NO Tested w/ 5.14.0 on Windows Vista, problem not observed (complete Postscript file output). Closing this report as fixed. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2007-07-31 21:24 Message: Logged In: YES user_id=501686 Originator: NO Marking this item for review. ---------------------------------------------------------------------- Comment By: Vadim V. Zhytnikov (vvzhy) Date: 2007-07-08 00:22 Message: Logged In: YES user_id=366498 Originator: NO Fixed in Maxima CVS. Please wait for the forthcoming 5.13 rc1 to test/ ---------------------------------------------------------------------- Comment By: Ted Woollett (woollett) Date: 2007-07-05 16:56 Message: Logged In: YES user_id=1806103 Originator: YES Back from vacation! I have used the file prologue.ps, placing it in the directory structure suggested, on my computer a rather long path name: c:\Program Files\Maxima5.12.0\bin\share\PostScript\prologue.ps Maxima now correctly creates the eps file. Thanks. Ted Woollett ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2007-06-21 09:13 Message: Logged In: YES user_id=501686 Originator: NO >From what I can tell, the Maxima 5.12.0 Windows installation is missing a file that Gnuplot wants, namely prologue.ps. I've taken the liberty of attaching the prologue.ps from Gnuplot 4.2 to this report. That file should be copied to ...\Maxima-5.12.0\bin\share\PostScript\prologue.ps in the Maxima installation. Please give that a try and let us know how it turns out. File Added: prologue.ps ---------------------------------------------------------------------- Comment By: Ted Woollett (woollett) Date: 2007-06-07 11:36 Message: Logged In: YES user_id=1806103 Originator: YES I observed this eps file bug on my Win XP box and using Maxima 5.11.99 and 5.12.0 A milder version appears in ver 5.9.3 in which Maxima complained but produced a viewable plot as viewed with gsview32. The 5.9.3 complaint looks like: Maxima 5.9.3 http://maxima.sourceforge.net Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL) (%i1) plot2d( sin(x),[x,-%pi, %pi] ,[gnuplot_term,ps], [gnuplot_out_file,"c:/work2/test6.eps" ] ) $ 'ghostview' is not recognized as an internal or external command, operable program or batch file. Output file "c:/work2/test6.eps". (%i2) ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2007-06-06 19:02 Message: Logged In: YES user_id=501686 Originator: NO Same error observed on my Win XP box + Maxima 5.12.0. However it works as expected with Maxima 5.11.0 on same Win XP box, and with Maxima 5.12.0 on Linux. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1732298&group_id=4933 |