Re: How to draw a discontinuous function (set of points)
- To: mathgroup at smc.vnet.net
- Subject: [mg79342] Re: How to draw a discontinuous function (set of points)
- From: chuck009 <dmilioto at comcast.com>
- Date: Wed, 25 Jul 2007 02:05:53 -0400 (EDT)
> (the graph should be just a set of points). > Hello Domnul, If you want just points, why not just create a table of points and use ListPlot: points = Table[Mod[x^2, 1000], {x, 0, 999}]; ListPlot[points, PlotStyle -> {Hue[.6], PointSize[0.01]}, AxesLabel -> {n, Mod[x^2, \ 1000]}, TextStyle -> {FontFamily -> "Times", FontSize -> 14}]