plotting and disipyl: scaling pdf output

Michels michels at linmpi.mpg.de
Mon May 12 03:31:36 EDT 2003


Gary Pajer wrote:

> I'm looking at disipyl (and/or dislin) to do plotting.  I'm potentially
> impressed by the capabilities.
>
> I'll be importing graphics into pdfLaTeX.
>
> I can't figure out how to produce a pdf file with the scale and size that I
> want.
> How does one reduce the size of the physical page?  I'd like the page to be
> just a bit bigger than the plot.
> I've experimented with dislin.hwpage(),   using the keyword 'windowsize' in
> various places, ... all kinds of things.
>
> Some changes appear in a screen window plot, but don't appear in the pdf.
> Anyone have a simple file illustrating how to manipulate pdf plots?
>
> TIA,
> Gary

The DISLIN routine hwpage defines the physiacal page for PostScript and PDF
files. For example, the statements hwpage (2000, 2000) and page (2000, 2000)
define a 1:1 scaling from the DISLIN plot page to a physical PDF or PostScript
page of the size 20 cm x 20 cm (~ 7.87 inch x 7.87 inch).

Regards,

 -------------------
  Helmut Michels
  Max-Planck-Institut fuer Aeronomie  Phone: +49 5556 979-334
  Max-Planck-Str. 2                   Fax  : +49 5556 979-240
  D-37191 Katlenburg-Lindau           Mail : michels at linmpi.mpg.de
  DISLIN Home Page:                   http://www.dislin.de







More information about the Python-list mailing list