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

Home » Public Forums » archive » Re: how to save image in full size
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: how to save image in full size [message #48993] Sun, 11 June 2006 09:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> The coordinate system for a typical image is easy to set up,
> given a POSITION in the window, and XRANGE and YRANGE
> values that describe the extent of the coordinate system
> in X and Y. Here is the DRAW method of my coordinate object.

I probably should mention that the coordinate object
is "drawn" prior to any graphics (including the image)
being drawn into the window. This is so the data coordinate
system can be established. Once it is established, I can
convert from DEVICE or NORMAL coordinates to DATA coordinates
with the usual COORD_CONVERT. For example, if an overlay
position is chosen interactively in DEVICE coordinates
with the mouse, I can immediately convert it to DATA
coordinates when I save the overlay position in my program.

All output, then is done in DATA coordinates, which acts to
position overlays appropriately when displaying into a
window of any size. All that has to happen is that the
coordinate system is "drawn" prior to display.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: how to save image in full size
Next Topic: Using GDL: error message

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

Current Time: Sat Oct 11 12:57:49 PDT 2025

Total time taken to generate the page: 0.96243 seconds