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

Home » Public Forums » archive » Re: IDL or PV-Wave - Drawing a box ??
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: IDL or PV-Wave - Drawing a box ?? [message #4641] Tue, 27 June 1995 00:00
afl is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: slow output to the log window under Mac OS
Next Topic: Re: Using BREAKPOINT

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

Current Time: Wed Oct 08 19:39:32 PDT 2025

Total time taken to generate the page: 0.00564 seconds