Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Markers in list plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128318] Re: Markers in list plot
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 6 Oct 2012 01:52:32 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

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