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

Home » Public Forums » archive » Re: Bigger image from Slicer3?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Bigger image from Slicer3? [message #55298] Thu, 16 August 2007 06:28 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
RickM writes:

> Thanks for your help. I had nothing like the cited lines in my
> code, but I added the two winX and winY lines above. This
> had no effect on the output.
>
> Is there something else I should do?

Well, the only thing you CAN do is find out how the
draw widget is sized and change it! A search in the
code for WIDGET_DRAW is where I started.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Bigger image from Slicer3? [message #55309 is a reply to message #55298] Wed, 15 August 2007 14:34 Go to previous messageGo to next message
Rick Matthews is currently offline  Rick Matthews
Messages: 9
Registered: May 2002
Junior Member
On Aug 10, 10:59 pm, David Fanning <n...@dfanning.com> wrote:

> And change the last two to something else. I tried this:
>
> winX = 1000
> winY = 800
>

David,

Thanks for your help. I had nothing like the cited lines in my
code, but I added the two winX and winY lines above. This
had no effect on the output.

Is there something else I should do?

Thanks.

Rick
Re: Bigger image from Slicer3? [message #55324 is a reply to message #55309] Fri, 10 August 2007 19:59 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
RickM writes:

> Is there a way to increase the image size in the Slicer3 widget in
> IDL?
>
> I am an IDL novice, and have been unsuccessful in finding anything on
> this.

Find these lines in the code:

; Initialize parameters.

DEVICE, GET_SCREEN_SIZE=screenSize
winX = ((screenSize[0] / 2) < 640) > 320 ; View window size.
winY = ((screenSize[1] / 2) < 640) > 320 ; View window size.
winX = 8 * ((winX < winY) / 8)
winY = winX

And change the last two to something else. I tried this:

winX = 1000
winY = 800

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Bigger image from Slicer3? [message #55369 is a reply to message #55309] Fri, 17 August 2007 01:08 Go to previous messageGo to next message
weitkamp is currently offline  weitkamp
Messages: 33
Registered: October 1998
Member
RickM wrote:
> On Aug 10, 10:59 pm, David Fanning <n...@dfanning.com> wrote:
>
>> And change the last two to something else. I tried this:
>>
>> winX = 1000
>> winY = 800
>>
>
> David,
>
> Thanks for your help. I had nothing like the cited lines in my
> code, but I added the two winX and winY lines above. This
> had no effect on the output.
>
> Is there something else I should do?

> From what you write here, I get the impression that you looked for
these lines in your own code. What David meant was looking in the
source code of Slicer3, and modifying that code. You can find out the
location of the file with IDL's ROUTINE_INFO procedure:

print, routine_info('slicer3', /source)

But anyway: the more recent versions of Slicer3 allow you to change
the window size from within the application: Slicer3 --> Tools -->
Options --> Window size. Did you try that?

Timm
Re: Bigger image from Slicer3? [message #55397 is a reply to message #55369] Mon, 20 August 2007 13:26 Go to previous message
Rick Matthews is currently offline  Rick Matthews
Messages: 9
Registered: May 2002
Junior Member
On Aug 17, 4:08 am, weitk...@esrf.fr wrote:
> RickM wrote:
>> On Aug 10, 10:59 pm, David Fanning <n...@dfanning.com> wrote:
>
>>> And change the last two to something else. I tried this:
>
>>> winX = 1000
>>> winY = 800
>
>> David,
>
>> Thanks for your help. I had nothing like the cited lines in my
>> code, but I added the two winX and winY lines above. This
>> had no effect on the output.
>
>> Is there something else I should do?
>> From what you write here, I get the impression that you looked for
>
> these lines in your own code. What David meant was looking in the
> source code of Slicer3, and modifying that code. You can find out the
> location of the file with IDL's ROUTINE_INFO procedure:
>
> print, routine_info('slicer3', /source)
>
> But anyway: the more recent versions of Slicer3 allow you to change
> the window size from within the application: Slicer3 --> Tools -->
> Options --> Window size. Did you try that?
>
> Timm

That's it. Thank you very much.

(I know I deserve a slap on the forehead. Consider it administered.)

I really appreciate your help. I don't know why I was blind
to that option.

Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Unproject Map Images
Next Topic: A question about IDL_IDLBridge

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

Current Time: Wed Oct 08 13:42:21 PDT 2025

Total time taken to generate the page: 0.00686 seconds