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

Home » Public Forums » archive » Re: PLOT command window dimensions?
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: PLOT command window dimensions? [message #17114] Fri, 10 September 1999 00:00
Vapuser is currently offline  Vapuser
Messages: 63
Registered: November 1998
Member
dEdmundson@Bigfoot.com writes:


IDL> Window, xsize=number_of_x_pixels, ysize=number_of_y_pixels


>
>
> I've been using OG for quite a while where one explicitly sets
> the size of the view. Now I'm using direct graphics for a
> change and I cannot see how to set the dimensions of the
> graphics window. I can use the !p.position system variable
> to set the relative size of the plot within the window that
> pops up, but the window that arises has a life of its own.
> Any help is appreciated.
>
> (I'd like to set it to a certain pixel height and width so
> that bitmap images saved have the proper dimensions. If
> it's important, I'm using X as my display device.)
>
> Cheers
> Darran.
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

--
William Daffer: 818-354-0161: vapuser@catspaw.jpl.nasa.gov
Re: PLOT command window dimensions? [message #17121 is a reply to message #17114] Fri, 10 September 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Darren Edmundson (dEdmundson@Bigfoot.com) writes:

> I've been using OG for quite a while where one explicitly sets
> the size of the view. Now I'm using direct graphics for a
> change and I cannot see how to set the dimensions of the
> graphics window. I can use the !p.position system variable
> to set the relative size of the plot within the window that
> pops up, but the window that arises has a life of its own.
> Any help is appreciated.
>
> (I'd like to set it to a certain pixel height and width so
> that bitmap images saved have the proper dimensions. If
> it's important, I'm using X as my display device.)

It's weird, isn't it, how completely different the two
systems are. But something like this should work:

Window, XSize=300, YSize=400

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: screen show of widget app ?
Next Topic: log axis

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

Current Time: Fri Oct 10 13:36:21 PDT 2025

Total time taken to generate the page: 0.15132 seconds