[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IDLgrPrinter
- Subject: IDLgrPrinter
- From: Ben Tupper <pemaquidriver(at)tidewater.net>
- Date: Fri, 23 Mar 2001 10:00:17 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: http://extra.newsguy.com
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24107
Hello,
How is the graphic plotting size/position controlled for the
IDLgrPrinter object? I would like to output a 2d plot such
that the axes are scaled isotropically. I have the view
dimensioned properly for IDLgrWindow and IDLgrClipboard...
but I don't see how to control the printer dimensions and
offset.
I am using the following steps to print:
r = dialog_printersetup(myprinterobject)
if r = 1 then begin
myprinterobject->newpage
myprinterobject->draw, myview
myprinterobject->newdocument
endif
The graphic atoms in the view are NOT normalized but are in
natural data coordinates.
I keep looking for the equivalent controls dor the direct
graphics PRINTER device such as...
DEVICE, ysize = blah, xsize = fooey, xoffset = duh, ...
IDL> help, !version,/str
** Structure !VERSION, 7 tags, length=44:
ARCH STRING 'x86'
OS STRING 'Win32'
OS_FAMILY STRING 'Windows'
RELEASE STRING '5.4'
BUILD_DATE STRING 'Sep 25 2000'
MEMORY_BITS INT 32
FILE_OFFSET_BITS
INT = 64
Thanks,
Ben
--
Ben Tupper
248 Lower Round Pond Road
POB 106
Bristol, ME 04539
Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net