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

Home » Public Forums » archive » Re: Displaying 2D arrays
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: Displaying 2D arrays [message #44860 is a reply to message #44855] Tue, 26 July 2005 21:19 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
>> How about something like this:
>>
>> s = Size(array, /Dimensions)
>> pos=[0.1, 0.1, 0.9, 0.9]
>> TVImage, Bytscl(array), Position=pos, /Keep_Aspect
>> Plot, [0, s[0]], [0,s[1]], /NoData, /NoErase, $
>> Position=pos, XTicklen=1, YTicklen=1
>
>
> Whoops! Better get those STYLE keywords in there, too. :-)
>
> Plot, [0, s[0]], [0,s[1]], /NoData, /NoErase, $
> Position=pos, XTicklen=1, YTicklen=1, XStyle=1, YStyle=1


Or, if you're that way inclined, IIMAGE. Not that I've ever used it
myself...

--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Displaying 2D arrays
Next Topic: Re: Read _ tiff with Sub_Rect Keyword

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

Current Time: Fri Oct 10 04:45:42 PDT 2025

Total time taken to generate the page: 1.19634 seconds