MathGroup Archive 2012

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

Search the Archive

Re: Markers in list plot


On 10/5/12 at 2:49 AM, daniele.barducci at alice.it (Daniele) wrote:

>Hi All, i would like to put personal PlotMarkers in ListPlot in the
>following way:

>ListPlot[{{x1,y1},{x2,y2},...,{xn,yn}}]

>in such a way that the first point has as a marker number one, the
>second number two and so on.. is that possible?

Yes. Here is one way to do that

len = 5;
data = Sort@RandomReal[1, {len, 2}];
ListPlot[List /@ data,
  PlotMarkers -> (Style[ToString@#, {12, Black}] & /@ Range[len]),
  Frame -> True, PlotRange -> All]




  • Prev by Date: Re: pattern matching
  • Next by Date: Re: List manipulation?
  • Previous by thread: Re: Markers in list plot
  • Next by thread: Re: Markers in list plot