MathGroup Archive 2008

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

Search the Archive

Re: How can I show x,y values next to points on plot? tia sal2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86143] Re: How can I show x,y values next to points on plot? tia sal2
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 3 Mar 2008 04:41:05 -0500 (EST)
  • References: <fqete2$jk1$1@smc.vnet.net>

Hi,

dta = Table[{i^2, 4 i^2 + i^3}, {i, 10}];

ListPlot[Tooltip[#, #] & /@ dta]

??

or
Graphics[
  {Point[#], Text[#, #, {-1, 1}]} & /@ dta, AspectRatio -> 1,
  Frame -> True, PlotRange -> {{-10, 120}, {-50, 1500}}
  ]

Regards
   Jens


Sal2 wrote:
> Greetings All
> 
> I would like to list my data point x,y values next to the points on the graph 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 the plot?
> 
> tia
> sal2
> 


  • Prev by Date: Summation
  • Next by Date: Re: How to get Manipulate results into a variable? tia sal2
  • Previous by thread: Re: How can I show x,y values next to points on plot? tia sal2
  • Next by thread: Re: How can I show x,y values next to points on plot? tia sal2