Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1992

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

Search the Archive

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[] .









  • Prev by Date: Eigenvalues
  • Next by Date: Re: Evaluating Min[2^(1/2),3^(1/2)]
  • Previous by thread: Eigenvalues
  • Next by thread: Inequalities Equations.