Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11963 > unrolled thread

Re: Markers in list plot

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-10-06 06:05 +0000
Last post2012-10-06 06:05 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Markers in list plot Bob Hanlon <hanlonr357@gmail.com> - 2012-10-06 06:05 +0000

#11963 — Re: Markers in list plot

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-10-06 06:05 +0000
SubjectRe: Markers in list plot
Message-ID<k4ohnu$i66$1@smc.vnet.net>
data = Table[{n, Prime[n]}, {n, 10}];

With PlotMarkers (n data lists with one point each):

ListPlot[List /@ data,
 PlotMarkers ->
  ToString /@ Range[Length[data]]]

With Text labels (single data list with n points):

ListPlot[data,
 PlotStyle -> White,
 Epilog -> (n = 1;
   Text[n++, #] & /@
    data)]


Bob Hanlon


On Fri, Oct 5, 2012 at 2:49 AM, Daniele <daniele.barducci@alice.it> 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?
>
> Thanks in advance!
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web