comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Size of image using tvscl?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Size of image using tvscl? [message #54817] Wed, 11 July 2007 13:03 Go to previous message
David Fanning is currently offline  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.")
[Message index]
 
Read Message
Read Message
Previous Topic: Size of image using tvscl?
Next Topic: Adf Format

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:55:25 PDT 2025

Total time taken to generate the page: 0.88006 seconds