This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

DiscretePlot

DiscretePlot[expr, {n, nmax}]
generates a plot of the values of expr when n runs from 1 to nmax.
DiscretePlot[expr, {n, nmin, nmax}]
generates a plot of the values of expr when n runs from nmin to nmax.
DiscretePlot[expr, {n, nmin, nmax, dn}]
uses steps dn.
DiscretePlot[{expr1, expr2, ...}, {n, nmin, nmax}]
plots the values of all the expri.
  • DiscretePlot has attribute HoldAll, and evaluates expr only after assigning specific numerical values to n.
  • In some cases it may be more efficient to use Evaluate to evaluate n symbolically before specific numerical values are assigned to n.
FillingAxishow to fill
EvaluationMonitorNoneexpression to evaluate at every function evaluation
JoinedAutomaticwhether to join points
MaxPlotPointsAutomaticthe maximal number of sample points to use
ExclusionsAutomaticpoints in n to exclude
New in 7