|
From: Ethan M. <merritt@u.washington.edu> - 2004-09-29 16:50:52
|
> > PS: Here are some other problems with CVS: > > > 3) In PostScript, the plot two plots after the one titled "Plot 'file' > > with vectors <arrowstyle>" and all plots after don't appear. When > > running 'all.dem', gnuplot hits that plot and then instead of sending > > PostScript code to the file all of a sudden it starts sending it to the > > stdout. > > And PDF stops any more writing. Well, that explains why vector.dem was not previously included in all.dem. I couldn't remember why that was, and it checked out OK with x11, but obviously I should have tested more terminal types. I'll remove it from all.dem again, but probably we should try to fix the underlying problem. > Here is the offending code in vector.dem: > > print "Now create a file with equipotential lines" > pause -1 "Hit return to continue" > set term push > set term table > set out "equipo2.dat" > rep > set out > set term pop > > => it resets output! > > I don't see any easy workaround ... we will probably need new command > "save output" > because the output is not normally saved. I can see some other possibilities, but none are obviously the correct thing to do: 'set term table' could take an optional file name, leaving the value of "set output" unchanged. show output output is set to "original" set term push set term table "equipo2.dat" replot set term pop show output output is set to "original" 'set term push' could push the value of output, and 'set term pop' could restore it. That makes a lot of sense, but I suppose it could break existing scripts. > > 4) Running 'all.dem' in pdf terminal results in > > > > PDFlib I/O error: Resource configuration file 'pdflib.upr' not found That's not a gnuplot error. That's a system configuration problem, specifically an incomplete installation of pdflib. pdflib wants that file to be in some specific search path, and complains if it's not there. > gnuplot> load 'world2.dem' > PDFlib exception (fatal): [2516] PDF_findfont: Metrics data for font '7' not found > > The offending line is: > plot ... with labels notitle point pt 6 lw .1 left offset 1,0 font ",7" > > Ethan, can you please fix it? That's triggered by the new demo file world2.dem, but it looks like the underlying problem is that pdf.trm does not interpret font specs the same way that post.trm and other drivers do. I'll have a look at that. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |