MathGroup Archive 2008

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

Search the Archive

Re: how to display both points and the line connecting them??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85134] Re: how to display both points and the line connecting them??
  • From: dh <dh at metrohm.ch>
  • Date: Wed, 30 Jan 2008 06:00:39 -0500 (EST)
  • References: <fnhnfc$f5h$1@smc.vnet.net>


Hi Jeff,

you could e.g. use Epilog like:

pts=Table[{i,Random[]},{i,5}];

ListPlot[pts,PlotJoined\[Rule]True,Epilog\[Rule]{PointSize[0.02],Point/@pts}]

hope this helps, Daniel



Jeff Z wrote:

> Hello all Mathematica Wizards out there!

> 

> My question is how do I create a 2D chart that displays both a list of coordinate points and the line that connects them? (using version 5.1)

> 

> I used Listplot to first graph the points and then PlotJoined to graph the line. However when it plotted the line, no matter how much I adjusted the PointSize value, I still saw no signs of the points that created the line. I tried researching the official Mathematica documentation and searching this forum but found little that specifically addressed this question. 

> 

> I hope someone is out there that can answer my question.

> 




  • Prev by Date: Re: Shared color scaling
  • Next by Date: Re: FITS Export w/ Elements in V6?
  • Previous by thread: Re: how to display both points and the line connecting them??
  • Next by thread: Tick Mark Customization