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 #88576 is a reply to message #88574] Wed, 14 May 2014 00:35 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
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
[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: Thu Oct 09 10:02:15 PDT 2025

Total time taken to generate the page: 0.24312 seconds