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

Home » Public Forums » archive » How can I force the x=image(...) command to give me a window that is the same size as my 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
How can I force the x=image(...) command to give me a window that is the same size as my image? [message #88574] Tue, 13 May 2014 16:16 Go to previous message
munka is currently offline  munka
Messages: 36
Registered: December 2009
Member
Here is my code:


im1=image(big_img,dimensions=n_elements(big_img[*,0]),n_elem ents(big_img[0,*])],window_title=slitname+'-+filtername,max_ value=highval,min_value=lowval,margin=[0,0,0,0],location=[0, 0],/xstyle,/ystyle)

I've explicitly given it dimensions, margin, and location. I even threw in xstyle and ystyle for good measure. It seems like there is always HUGE white space above and below my actual image. Its never in the x direction, only in the y direction.

This is an issue because I want the exact location on the image where someone clicks and if there is whitespace

I'm on mac os 10.8 if that changes anything.
[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
Previous Topic: How to set error bar thickness in ERRORPLOT()?
Next Topic: Trouble resizing image

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

Current Time: Wed Oct 08 16:03:07 PDT 2025

Total time taken to generate the page: 0.00452 seconds