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

Home » Public Forums » archive » Re: Fractional Pixels Origin?
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: Fractional Pixels Origin? [message #47572 is a reply to message #47560] Wed, 15 February 2006 14:28 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"CJCrockett" <ccrockett@astro.umd.edu> writes:

> A quick question. Does anyone know, definitively, what origin IDL uses
> when defining fractional pixels? Is (0.0,0.0) the center, bottom left,
> or other, of the pixel?

Greetings, fellow Terrapin! David is right, IDL treats graphics on
the *screen* as whole pixels.

The place where fractional pixels comes in is probably the
INTERPOLATE() routine. That routine definitely considers the place
where the pixel value is defined to be at the *lower left* corner of
the box.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: naming PS plots: variable+ string?
Next Topic: IDLWAVE 6.0 -- idlwave.org

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

Current Time: Wed Oct 08 11:11:36 PDT 2025

Total time taken to generate the page: 0.00400 seconds