MathGroup Archive 1997

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7608] Re: [mg7544] How to use a graphics primitive? No example in book
  • From: jpk at max.mpae.gwdg.de
  • Date: Thu, 19 Jun 1997 15:53:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

> From rkp at NSPAMcomwerx.net Sat Jun 14 04:30:16 1997
> Date: Fri, 13 Jun 1997 19:37:35 -0400 (EDT)
> From: rkp at NSPAMcomwerx.net (NO SPAM)
To: mathgroup at smc.vnet.net
> To: mathgroup at smc.vnet.net
> Subject: [mg7608] [mg7608] [mg7544] How to use a graphics primitive? No example in book
> 
> Or at least I can't find an example that works.
> All I want to do is put some notations on a graph, ie lable some
> curves.  Only thing I can find in the book is Text[expr, {x,y}].  But
> no matter where I put this expression, MMa coughs it up. 
> Sure would appreciate any clue on how to do this.
> Thanks, Rob
> 
Hi Rob,

Try

Show[
  Graphics[{
    Line[{{0,0},{1,1}}],
    Point[{1,0}],
    Polygon[{{2,2},{2,3},{1,4}}]
    }]
  ]
  
for 2d Graphics.

Hope that helps
Jens    


  • Prev by Date: Matrix Rank
  • Next by Date: LightSources
  • Previous by thread: Re: How to use a graphics primitive? No example in book
  • Next by thread: Mma Performance: K6 or P200?