Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: PlotPoints in plot

  • To: mathgroup at
  • Subject: [mg48560] RE: [mg48520] PlotPoints in plot
  • From: "David Park" <djmp at>
  • Date: Sat, 5 Jun 2004 07:19:01 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Because of the 2D adaptive algorithm for picking plot points it is difficult
to exert point control through that mechanism. You could use PlotDivision,
but the best you can get is something like...

Plot[Sqrt[1 - x^2], {x, -1, 1}, PlotPoints -> 3,
  PlotDivision -> 1]

It would be better to use...

pts = Table[{Cos[t], Sin[t]}, {t, 0, Pi, Pi/2}];
Show[Graphics[Line[pts]], Axes -> True];

David Park
djmp at

From: "G.L.Narasimham" [mailto:mathma18 at]
To: mathgroup at

For the plot command  Plot[Sqrt[1-x^2],{x,-1,1},PlotPoints->3]
I expected to see a triangle joining 3 points on a circle, but a
continuous line ( default PlotPoints->20? )appears. However,
gives a triangle. How to get a polygon of straight sides in the
unparametered Plot?

  • Prev by Date: Another Mathematica Link for your listing...
  • Next by Date: Re: Random Matrix of Integers
  • Previous by thread: Re: PlotPoints in plot
  • Next by thread: Re: PlotPoints in plot