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


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

Re: Markers in list plot

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Markers in list plot
Date 2012-10-06 06:05 +0000
Message-ID <k4ohnu$i66$1@smc.vnet.net> (permalink)
References <20121005064907.6E2FF685E@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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!
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web