Re: How to use a graphics primitive? No example in book

• To: mathgroup at smc.vnet.net
• Subject: [mg7593] Re: [mg7544] How to use a graphics primitive? No example in book
• From: Allan Hayes <hay at haystack.demon.co.uk>
• Date: Thu, 19 Jun 1997 03:13:56 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```On 13 Jun 1997
rkp at NSPAMcomwerx.net
in [mg7544] How to use a graphics primitive? No example in book
wrote

> All I want to do is put some notations on a graph, ie lable some
> curves.

Rob:

Graphics primitives are the basic objects that Mathematica uses to
describe graphics:

Plot[ArcSin[x],{x,0,1},
Epilog->   (*or Prolog*)
{{PointSize[.02],Point[{.7, ArcSin[.7]}],
Text[{"x","y"},{.7, ArcSin[.7]},{-1,1}],(*{-1,1} is the offset*)
Line[{{1,0},{1, ArcSin[1]}}]
}}
]
InputForm[%] (*to see the Mma code *)

Show[Graphics[
{
{Thickness[.02],Hue[0], Line[{{0,0},{1,2},{2,0}}]},
(*{..} isolate Thickness and Hue*)
{PointSize[.03],Hue[.7],Point[{1,1}]},
Text["blue point",{1,1},{0,-2}]
},
Frame -> True
]]

Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html
voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
12 Copse Close, Leicester, LE2 4FB, UK

```

• Prev by Date: Book on logic using Mma
• Next by Date: Re: Help: Saving/Printing graphics output
• Previous by thread: How to use a graphics primitive? No example in book
• Next by thread: Re: How to use a graphics primitive? No example in book