MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Use of Rectangle ??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15321] Use of Rectangle ??
  • From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
  • Date: Fri, 8 Jan 1999 04:15:11 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

The documentation for V 3.0 says 
Rectangle[{xmin,ymin},{xmax,ymax},graphics] will produce a rectangle
filled with the specified graphics.  It also says `graphics` can be any
graphics object.

I don't completely understand how this is supposed to work.  Can anyone
explain?  I provide the following examples to kick off the discussion.

In[1]:=
lin=Graphics[{Line[{{0,0},{1/3,1/100}}]}];
Show[Graphics[{Rectangle[{2,2},{3,3},lin]}],
  PlotRange->{{1,4},{1,4}},
  AspectRatio->Automatic,
  Axes->True
];
(* Graphic not shown *)


In[2]:=
pnt=Graphics[{PointSize[1],Point[{1,8}]}];
Show[Graphics[{Rectangle[{2,2},{3,3},pnt]}],
 PlotRange->{{1,4},{1,4}},
 AspectRatio->Automatic,
 Axes->True
];
(* Graphic not shown *)


Cheers,
Ted Ersek


  • Prev by Date: assumption, supposition?
  • Next by Date: Re: power spectrum/freqs.
  • Previous by thread: Re: assumption, supposition?
  • Next by thread: Re: Use of Rectangle ??