Re: IDL or PV-Wave - Drawing a box ?? [message #4641] |
Tue, 27 June 1995 00:00 |
afl
Messages: 51 Registered: December 1994
|
Member |
|
|
In article <11195.199506271601@tigermoth.aero.gla.ac.uk>, gnaa38@aero.gla.ac.uk
(Paul Porcelli) writes:
|> How do you draw a simple box with no axes in PV-Wave?
|> Any help would be greatly appreciated.
|> Cheers
|> --
Here is one solution:
plot, indgen(1), color=!p.background
plots, [.2,.8,.8,.2,.2], [.2,.2,.8,.8,.2], /norm, thick=4
Now if the box *must* be square, try
window, xsize=500, ysize=500
before making these calls, or get the value of
!d.y_size and !d.x_size and use those to determine
the coordinates for a "square" box, then set
!p.position = those coordinates.
--
Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
|
|
|