Re: Dotted line plot
- To: mathgroup at smc.vnet.net
- Subject: [mg53957] Re: [mg53911] Dotted line plot
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sat, 5 Feb 2005 03:15:24 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200502040911.EAA00944@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
Using Plot with the PlotStyle option:
Plot[2x + 3, {x, -5, 5},
PlotStyle -> {Thickness[0.012], Dashing[{0.001, 0.05}]}]
If you don't like the result -- which does not actually have "dots" --
then you might try to use ListPlot, for example:
ListPlot[Table[2x + 3, {x, -5, 5, 0.25}],
PlotStyle -> PointSize[0.015]]
DJ Craig wrote:
> How can I plot this linear equation with a dotted line for the line:
> y = 2x + 3
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
- References:
- Dotted line plot
- From: "DJ Craig" <spit@djtricities.com>
- Dotted line plot