Re: Different sized pixels in pg_plotimage (is this a "feature") [message #64811 is a reply to message #64810] |
Fri, 16 January 2009 09:30   |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
Hi Brian,
I agree that extending the minimum and maximum values
by half pixels would look nicer.
I'll check how I can modify the code to implement that behaviour.
Ciao,
Paolo
Brian Larsen wrote:
> Paolo (and anyone else who uses pg_plotimage),
>
> I am having trouble using/modifying pg_plotimage in a way that
> produces the output that I want, so I'll try here.
>
> using the following idl code:
> ctload, 39
> pg_plotimage, dist(10), findgen(10), findgen(10), /iso
>
> I expect to get 100 "pixles" of different values all the same size.
> Instead what I get is an 8x8 region of square pixels surrounded by a
> border of 1/2 sized pixels and corners of 1/4 sized pixels. At least
> for what I am trying to do this isn't the desired output.
>
> In hunting through pg_plotimage I am unable to figure out where the
> border resizing is happening so I can undo it. Does anyone have any
> ideas (or real knowledge) on where they are being changed?
>
> Thanks
>
> Brian
>
> ------------------------------------------------------------ --------------
> Brian Larsen
> Boston University
> Center for Space Physics
> http://people.bu.edu/balarsen/Home/IDL
|
|
|