On Wednesday, May 14, 2014 12:35:23 AM UTC-7, Helder wrote:
> Well, let's begin with the fact that the line of code you gave is full of errors... that said, this works fine for me:
>
> big_img = dist(512)
>
> mx = max(big_img, min=mn)
>
> im1=image(big_img,dimensions=size(big_img,/dimensions),windo w_title='title',max_value=mx,min_value=mn,margin=[0,0,0,0],l ocation=[0,0],/xstyle,/ystyle)
>
>
>
>> I'm on mac os 10.8 if that changes anything.
>
>
>
> Don't know about the mac, but maybe the idl version counts.
>
>
>
> IDL> !version
>
> {
>
> ARCH: "x86_64",
>
> OS: "Win32",
>
> OS_FAMILY: "Windows",
>
> OS_NAME: "Microsoft Windows",
>
> RELEASE: "8.3",
>
> BUILD_DATE: "Nov 15 2013",
>
> MEMORY_BITS: 64,
>
> FILE_OFFSET_BITS: 64
>
> }
>
>
>
> Cheers,
>
> Helder
I see no whitespace with this square image, but try it with
big_img = findgen(1000,100)
mx = max(big_img, min=mn)
im1=image(big_img,dimensions=size(big_img,/dimensions),windo w_title='title',max_value=mx,min_value=mn,margin=[0,0,0,0],l ocation=[0,0],/xstyle,/ystyle)
This makes a rectangular window with whitespace at the top and bottom.
my IDL version
{ x86_64 darwin unix Mac OS X 8.2 Apr 10 2012 64 64}
Hmmm. Is it a factor if I'm using the idlde? It seems to show a window with no whitespace when run from the command line, but there is whitespace when I'm using idlde.... Is there a way to fix this?
|