Re: How can I show x,y values next to points on plot? tia sal2
- To: mathgroup at smc.vnet.net
 - Subject: [mg86152] Re: [mg86127] How can I show x,y values next to points on plot? tia sal2
 - From: "Ricardo Samad" <resamad at gmail.com>
 - Date: Mon, 3 Mar 2008 04:42:46 -0500 (EST)
 - References: <200803021858.NAA20074@smc.vnet.net>
 
Hi tia,
below are two suggestions, I think the first one is better, it don't
clutter the graph, and you just have to put the cursor on the point:
t = Table[{i^2, 4 i^2 + i^3}, {i, 10}]
ListPlot[Tooltip[t]]
ListPlot[t, Epilog -> Evaluate[Text[#, #, {-1.5, 0}] & /@ t]]
regards,
Ricardo
On Sun, Mar 2, 2008 at 3:58 PM, Sal2 <ratullochjk2 at gmail.com> wrote:
> Greetings All
>
> I would like to list my data point x,y values next to the points on the g=
raph is this possible with mathematica 6?
>
> My input is:
> Table[{i^2, 4 i^2 + i^3}, {i, 10}]
>
> my output is:
> {{1, 5}, {4, 24}, {9, 63}, {16, 128}, {25, 225}, {36, 360}, {49,
> 539}, {64, 768}, {81, 1053}, {100, 1400}}
>
> I then graph it with:
> ListPlot[%]
>
> How do I get the x,y numerical values to show up next to the points on th=
e plot?
>
> tia
> sal2
>
>
--
____________________________________
Ricardo Elgul Samad
tel: (+55 11) 3133-9372
fax: (+55 11) 3133-9374
Centro de Lasers e Aplica=E7=F5es
IPEN/CNEN-SP
AV. Prof. Lineu Prestes 2242
Cidade Universit=E1ria
05508-000
S=E3o Paulo - SP
Brazil
____________________________________
- References:
- How can I show x,y values next to points on plot? tia sal2
- From: Sal2 <ratullochjk2@gmail.com>
 
 
 - How can I show x,y values next to points on plot? tia sal2