Re: Different sized pixels in pg_plotimage (is this a "feature") [message #64807 is a reply to message #64801] |
Fri, 16 January 2009 10:04   |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
Paolo wrote:
> Paolo wrote:
>> Hi Brian,
>> I uploaded a new version to the web.
>>
>> http://hea-www.cfa.harvard.edu/~pgrigis/idl_stuff/pg_plotima ge.pro
>>
>> Try to call it with the keywords /fulledges
>> and please report if it does what you want.
>
> Actually, belay that,
> I am not happy with the way /fulledges work.
OK, try now.
It's all these half-pixels offsets that drive one crazy...
>
> I'll let you know.
>
> Ciao,
> Paolo
>
>>
>> Thanks for your feedback.
>>
>> 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
|
|
|