MathGroup Archive 2001

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

Search the Archive

Re: Adding text at various X,Y locations on Multi-Function Graphs


Try the following:

In[1]:=
Plot[{Sin[x], Sin[2*x]}, {x, -2 Pi, 2 Pi},
  Epilog -> {Text["Curve1", {4.5, 0.6}, {-1, 0}],
      Text["Curve2", {2, 0.95}, {-1, 0}]}];

The coordinates you can obtain by clicking on the plot, and then, while
holding down the Control key, move your cursor around inside the plot. The
coordinates will appear in the left-hand side, lower part of the notebook
window.

Tomas Garza
Mexico City
----- Original Message -----
From: "Will Cooper" <wcooper1 at san.rr.com>
To: mathgroup at smc.vnet.net
Subject: [mg30338] [mg30301] Adding text at various X,Y locations on Multi-Function
Graphs


> Hello,
> Does anyone know the syntax to enter text at various x,y coordinates into
a
> multi-function graph, e.g.
>
> ShowLegend[Plot[{Sin[x], Sin[2*x]}, {x, -2 Pi, 2 Pi}]]
>
> The syntax in the Help file is not clear at all.
>
> Thanks,
>
> Will Cooper.
>
>



  • Prev by Date: Re: Adding text at various X,Y locations on Multi-Function Graphs
  • Next by Date: Re: Notebook Filename
  • Previous by thread: Re: Adding text at various X,Y locations on Multi-Function Graphs
  • Next by thread: Re: Adding text at various X,Y locations on Multi-Function Graphs