Re: Ordering of graphics pri
- To: mathgroup at yoda.physics.unc.edu (Mathematica Discussion Group)
- Subject: Re: Ordering of graphics pri
- From: Ross_Moore at mac-mpce-services.mpce.mq.edu.au (Ross Moore)
- Date: Thu, 27 Aug 1992 17:40:48 +1000
Reply to: RE>Ordering of graphics primit Ken Levasseur observes ... ...there was a distinct difference in the outputs from > pt=Map[Point[{#,#^2}]&,Table[Random[],{20}]]; > ax=Line[{{1,0},{0,0},{0,1}}]; > nm=Text["y = x^2",{0.2,0.9}]; > {pt,ax,nm}//Graphics//Show > {nm,pt,ax}//Graphics//Show In the latter output, all points in pt are connected to pt[[1]]. ------------------ I observed this same effect, using a Mac IIci Front-End to a DEC-RISC kernel. The correct behaviour results from the following {{nm},pt,ax}//Graphics//Show {{nm},pt,ax}//Flatten//Graphics//Show {nm,pt,ax}//Flatten//Graphics//Show Somehow the Text[] command ( in the expansion of nm ) is having an undesirable side-effect when the Graphics primitives are not all at the same level in Graphics[] .