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 #64811 is a reply to message #64810] Fri, 16 January 2009 09:30 Go to previous messageGo to previous message
pgrigis is currently offline  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
[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: Thu Oct 09 22:24:30 PDT 2025

Total time taken to generate the page: 0.16053 seconds