MathGroup Archive 2002

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

Search the Archive

Re: How can I write inside the frame.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35920] Re: How can I write inside the frame.
  • From: "Kevin J. McCann" <kmccann at umbc.edu>
  • Date: Thu, 8 Aug 2002 06:06:10 -0400 (EDT)
  • Organization: University of Maryland, Baltimore County
  • References: <aiqs0k$4js$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Try Epilog:

Plot[{Sin[x], Sin[2*x], Sin[3*x], Sin[4*x]}, {x, 0, 1}, Frame -> True,
Axes -> False,

Epilog -> {Text[StyleForm["Some Text", FontSize -> 10, FontFamily ->
"Times"],

{0.2, -0.5}, {0, 0}]}];

I also wrapped the text in StyleForm so I can control the size and font.
Look up Text in Help to see the options. {0.2,-0.5} is the coordinate of the
text, the {0,0} dictates the centering, the Help will tell you all about
that.

Kevin

--
Kevin J. McCann
Joint Center for Earth Systems Technology (JCET)
Department of Physics
UMBC
Baltimore MD 21250



"Sergio Milo" <milo at dmo.fee.unicamp.br> wrote in message
news:aiqs0k$4js$1 at smc.vnet.net...
>         Dear mathgroup friends.
>
>         For example, I have this program.
>
>         Plot[{Sin[x],Sin[2 x],Sin[3 x], Sin[4
> x]},{x,0,1},Frame->True,Axes->False].
>
>          I need write names inside the frame, how can do that.
>
>         Anybody can help me.
>
>         Thanks for advance.
>
>
>
>




  • Prev by Date: Infinite series problem
  • Next by Date: Re: Calculating the area surrounded by a closed contour curve.
  • Previous by thread: Re: How can I write inside the frame.
  • Next by thread: Parts in color