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

Home » Public Forums » archive » Re: Different sized pixels in pg_plotimage (is this a "feature")
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: Different sized pixels in pg_plotimage (is this a "feature") [message #64791 is a reply to message #64778] Sat, 17 January 2009 06:26 Go to previous messageGo to previous message
liamgumley is currently offline  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/
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: stop oddity
Next Topic: Image Inpainting

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

Current Time: Fri Oct 10 06:33:35 PDT 2025

Total time taken to generate the page: 0.80553 seconds