Re: PLOT command window dimensions? [message #17114] |
Fri, 10 September 1999 00:00 |
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  |
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
|
|
|