Re: Size of image using tvscl? [message #54817] |
Wed, 11 July 2007 13:03  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Hazel writes:
> I'm plotting a scaled image using tvscl but I can't seem to change the
> physical size of the resultant image (I need it to be bigger!). I see
> that xsize and ysize will not work for 'pixel-based devices that are
> unable to change the size of their pixels', like my screen. So is
> there no way round this other than to use .ps for example?
On a display, you resize an image with REBIN or (more likely)
CONGRID. You use XSIZE and YSIZE when you send the image off
to PostScript. Because this is confusing, most people use
a TV replacement. For example TVIMAGE (or TVSCALE if you really
don't want to byte scale your data yourself) or IMGDISP.
Any of these are device independent. (And they will even
handle the resizing for you!)
http://www.dfanning.com/programs/tvimage.pro
http://www.dfanning.com/programs/tvscale.pro
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|