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

Home » Public Forums » archive » How to make a big graphic window larger than Xwindows size?
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
How to make a big graphic window larger than Xwindows size? [message #44700] Wed, 13 July 2005 07:36 Go to next message
ismxray@yahoo.com is currently offline  ismxray@yahoo.com
Messages: 13
Registered: January 2005
Junior Member
Hi all,
Is there any way to make a large direct graphic window in IDL?
Each time I try to use
window,xsize=2000,ysize=2000
I always got a window litter bit than the screen size(1600x1200, ).
The window I can get is " 0: Win(1593,1117, Pixmap) "
The alternative question is how to make a large size figure in IDL?
Thanks very much!

Best wishes,
Charles
Re: How to make a big graphic window larger than Xwindows size? [message #44769 is a reply to message #44700] Thu, 14 July 2005 08:30 Go to previous messageGo to next message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
From the IDL documentation regarding the Z-buffer device: "The frame
buffer that contains the picture is 8 bits deep and is accessed as
channel 0. The Z depth buffer contains 16 bit integers and is accessed
as channel 1."

So, I if you're trying to use channels in an RGB sense, then what you
said is true.

ismxray@yahoo.com wrote:
> It seems to me that zbuffer doesn't support mutiple channel, neither
> postscript. Is this true?
>
Re: How to make a big graphic window larger than Xwindows size? [message #44772 is a reply to message #44700] Thu, 14 July 2005 07:04 Go to previous messageGo to next message
ismxray@yahoo.com is currently offline  ismxray@yahoo.com
Messages: 13
Registered: January 2005
Junior Member
It seems to me that zbuffer doesn't support mutiple channel, neither
postscript. Is this true?
Re: How to make a big graphic window larger than Xwindows size? [message #44777 is a reply to message #44700] Thu, 14 July 2005 00:50 Go to previous messageGo to next message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
For displaying large images swindow is great. For using it interactively it would
be nice to have something like "scursor" since the swindow cannot be scrolled while
using the ordinary cursor command.

regards,

B.St.

liamgumley@gmail.com wrote:
> The best solution is the swindow routine from the JHU/APL library:
>
> ftp://nansen.jhuapl.edu/pub/idl/routines/swindow.pro
>
> IDL> swindow, xsize=2000, ysize=2000
>
> Cheers,
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
>
Re: How to make a big graphic window larger than Xwindows size? [message #44783 is a reply to message #44700] Wed, 13 July 2005 08:10 Go to previous messageGo to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
ismxray@yahoo.com wrote:
> Hi all,
> Is there any way to make a large direct graphic window in IDL?
> Each time I try to use
> window,xsize=2000,ysize=2000
> I always got a window litter bit than the screen size(1600x1200, ).
> The window I can get is " 0: Win(1593,1117, Pixmap) "
> The alternative question is how to make a large size figure in IDL?
> Thanks very much!
>
> Best wishes,
> Charles
>

zbuffer should work

or postscript

I have not much time now, may be someone could more explain

Reimar



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
Re: How to make a big graphic window larger than Xwindows size? [message #44790 is a reply to message #44700] Wed, 13 July 2005 08:09 Go to previous messageGo to next message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
ismxray@yahoo.com wrote:
> Hi all,
> Is there any way to make a large direct graphic window in IDL?
> Each time I try to use
> window,xsize=2000,ysize=2000
> I always got a window litter bit than the screen size(1600x1200, ).
> The window I can get is " 0: Win(1593,1117, Pixmap) "
> The alternative question is how to make a large size figure in IDL?
> Thanks very much!

Have you tried using the Z-buffer instead?

set_plot, 'Z'
device, set_resolution = [2000, 2000]

; do your plotting

image = TVRead() ; see [1]
write_image, filename, format, image


[1] You can find TVRead() in David Fanning's library. It's designed to
be a better replacement of IDL's tvrd().

-Mike
Re: How to make a big graphic window larger than Xwindows size? [message #44793 is a reply to message #44700] Wed, 13 July 2005 13:48 Go to previous messageGo to next message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
The best solution is the swindow routine from the JHU/APL library:

ftp://nansen.jhuapl.edu/pub/idl/routines/swindow.pro

IDL> swindow, xsize=2000, ysize=2000

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: How to make a big graphic window larger than Xwindows size? [message #44941 is a reply to message #44700] Wed, 20 July 2005 14:44 Go to previous message
judy is currently offline  judy
Messages: 4
Registered: December 2004
Junior Member
I had a similar problem at work. I ended up using Object Graphics,
needed to create a display and pan window. Then setting VIEWPLANE_RECT
to the size of the display window and using SUB_RECT to display smaller
portion of image.

judy
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Why IDL needs Garbage Collection
Next Topic: IDL Documentation tool?

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

Current Time: Wed Oct 08 15:54:00 PDT 2025

Total time taken to generate the page: 0.00533 seconds