[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Create postscript (vector) file with any size using IDLgrClipboard.
- Subject: Create postscript (vector) file with any size using IDLgrClipboard.
- From: Nicolas Decoster <Nicolas.Decoster(at)Noveltis.fr>
- Date: Wed, 31 May 2000 14:24:56 +0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: Noveltis
- Reply-To: Nicolas.Decoster(at)Noveltis.fr
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19828
Hi.
I need to create a file using the Draw method of IDLgrClipboard with the
vector and postscript keywords set. I want my figure to be 25cm x 25cm
using a high resolution (0.01 cm per centimeter, for example). The
problem is that IDL don't let me to init such a thing:
IDL> myClipboard = obj_new('IDLgrClipboard', dimensions = [25, 25],
units = 2, resolution = [0.01, 0.01])
% OBJ_NEW: Window DIMENSION[0] exceeds maximum.
Clamping to screen dimensions.
% OBJ_NEW: Window DIMENSION[1] exceeds maximum.
Clamping to screen dimensions.
Is there a way to create a postscript file containing a figure of any
size and of any resolution?
In fact I have done this using the printer class (redirected in a file)
on UNIX, but I have other problems with this (grayscale for my color
images, misplaced images compared with Clipboard output or Window class
output)
Nicolas.
ps:
IDL> print, !version
{ sparc sunos unix 5.3 Nov 11 1999}
--
Tél. : 00 (33) 5 62 88 11 16
Fax : 00 (33) 5 62 88 11 12
Nicolas.Decoster@Noveltis.fr
Noveltis
Parc Technologique du Canal
2, avenue de l'Europe
31520 Ramonville Saint Agne - France