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

Home » Public Forums » archive » window size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
window size [message #58433] Fri, 01 February 2008 07:42
rpertaub@gmail.com is currently offline  rpertaub@gmail.com
Messages: 43
Registered: January 2007
Member
I am displaying an image made up of three channels:

final_image=lonarr(3,1050,1308)
final_Image[0,*,*] =bytscl(final_red)
final_Image[1,*,*] = bytscl(final_grn)
final_Image[2,*,*] = bytscl(final_blu)

window,6,title='Reconstructed RGB
image',xsize=final_image_size[1],ysize=final_image_size[2]

tv,final_image,true=1

cursor,x,y,/device

My problem is this: My image is quite big, and I do not see all of it
(the bottom goes below my screen). As you see, I want to have the
ability to use a cursor to pick a point on my image. However, since my
image is too big, I have a problem. I tried using rot and demagnify by
a factor of 0.5. However, that messes up my coordinates x,y cursor.

What is a better way to demagnify the image?

Thanks,
RP
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Plot and Plots
Next Topic: EMACS or IDL Workbench

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

Current Time: Wed Oct 08 18:07:51 PDT 2025

Total time taken to generate the page: 0.00458 seconds