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
Re: How can I force the x=image(...) command to give me a window that is the same size as my image? [message #88586 is a reply to message #88585] Wed, 14 May 2014 14:31 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Wednesday, May 14, 2014 3:05:27 PM UTC-6, Phillip Bitzer wrote:
> On Wednesday, May 14, 2014 3:57:44 PM UTC-5, myname...@gmail.com wrote:
>
>
>
>> Helder's code also worked with no whitespace for me, but the problem seems to happen with long rectangular images. Did you try it with big_img = findgen(1000,100) ?
>
>
>
> Sorry, I missed this. But your big_img does work fine, i.e., no whitespace, for me as well.

Just to chime in, I think in IDL 8.3 and earlier, there was a hardcoded limit on the X and Y dimensions of the window. For the X dimension it was something like 450 pixels, while for Y it was 50 pixels.

If you are still having problems, you might try adding the /WIDGET keyword, to force IDL widgets instead of Java SWT widgets.

Also, even if you do end up with whitespace, why can't you use the ConvertCoord method to determine if the mouse click location is on or off the image?

-Chris
[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: Sat Oct 11 20:51:44 PDT 2025

Total time taken to generate the page: 0.72234 seconds