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

Home » Public Forums » archive » Re: Centering Image
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: Centering Image [message #67090 is a reply to message #67083] Tue, 23 June 2009 00:55 Go to previous messageGo to previous message
philipelson is currently offline  philipelson
Messages: 9
Registered: March 2009
Junior Member
You mean something like this?

image=INDGEN(100,50)
dims=SIZE(image,/DIM)
screen_size=[!D.X_SIZE,!D.Y_SIZE]
pos=(screen_size-dims)/2
TVSCL, image, pos[0], pos[1]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL object graphics code logs me out?!
Next Topic: Re: Catalyst CatDestroyDefaults

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

Current Time: Fri Oct 10 09:37:45 PDT 2025

Total time taken to generate the page: 2.16084 seconds