Re: How can I force the x=image(...) command to give me a window that is the same size as my image? [message #88587 is a reply to message #88585] |
Wed, 14 May 2014 14:35  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Phillip Bitzer writes:
> Sorry, I missed this. But your big_img does work fine, i.e., no whitespace, for me as well.
Same version of IDL that Philip is using, and without having any windows
open, this code produces a window with white space top and bottom:
big_img = dist(512, 248)
mx = max(big_img, min=mn)
im1=image(big_img,dimensions=size
(big_img,/dimensions),window_title='title',max_value=mx,min_ value=mn,mar
gin=[0,0,0,0],location=[0,0],/xstyle,/ystyle)
It is as though the image refuses to give up its image aspect ratio.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|