Re: Different sized pixels in pg_plotimage (is this a "feature") [message #64791 is a reply to message #64778] |
Sat, 17 January 2009 06:26   |
liamgumley
Messages: 74 Registered: June 2005
|
Member |
|
|
On Jan 16, 11:01 am, Brian Larsen <balar...@gmail.com> 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,
You could try IMDISP (http://www.gumley.com/PIP/Programs/imdisp.pro),
e.g.,
loadct, 39
imdisp, dist(10), /axis
Is this what you want?
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|