From: Alan W. I. <ir...@be...> - 2005-10-07 17:17:52
|
On 2005-10-07 17:36+0200 Henning Thielemann wrote: > > I like to generate several plots in Postscript format for inclusion in a > LaTeX document. I have problems to produce predictable results, e.g. I > like a constant character size, constant line width and an appropriate > size of plots. E.g. in one case I have a single plot, in another case I > have several plots in a stack (using plssub(1,n)). Of course more plots > shall consume more space. But using the defaults PLplot tries to fits > everything in a page with about 2:3 aspect ratio. In LaTeX I have to > include them with different values for the "scale" option of > \includegraphics, resulting in different line widths. If I even change the > page aspect with plsdidev or plsdiplt then the characters are distorted. > Another problem I have not solved so far: If several plots are stacked the > vertical spaces between subplots are quite large. > Eventually I could not find commands in the documentation, or even a > suggested sequence of commands to be performed to get consistent results. > How to achieve that? I stack plots (vertically and horizontally with arbitrary spacing between them including zero space) using the plvpor command. http://plplot.sourceforge.net/docbook-manual/plplot-html-5.5.3/plvpor.html . Instead of fiddling with sub-pages, I use plvpor on a single page. For typical results, see freeeos.sf.net/coulomb.pdf. Also, I use the -portrait option for postscript plots to preserve character aspect ratios for rotation from the default postscript landscape mode to portrait mode. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |