Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg48595] Re: PlotPoints in plot
  • From: drbob at bigfoot.com (Bobby R. Treat)
  • Date: Sat, 5 Jun 2004 19:58:18 -0400 (EDT)
  • References: <c9sdj1$c6a$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

>> You can force Mathematica to not sample more points then specified
by PlotPoints by setting PlotDivision to 1

No, you can't.

Bobby

Bill Rowe <readnewsciv at earthlink.net> wrote in message news:<c9sdj1$c6a$1 at smc.vnet.net>...
> On 6/4/04 at 4:49 AM, mathma18 at hotmail.com ("G.L.Narasimham") wrote:
> 
> >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. 
> 
> The PlotPoints option specifies the number of points to initially sample. The actual number of points sampled is determined by a combination of PlotPoints, MaxBend and PlotDivision. What happens is the default settings of MaxBend and PlotDivision cause Mathematica to sample the function sufficiently that you get a smooth curve in this case.
> 
> You can force Mathematica to not sample more points then specified by PlotPoints by setting PlotDivision to 1. But I don't think this does what you are looking for.
> 
> If I wanted to plot a polygon, I would first create a list of the vertices to be plotted then use ListPlot with PlotJoined->True


  • Prev by Date: Re: Simplifying Expressions with Ratios of Factors
  • Next by Date: FindRoot question
  • Previous by thread: Re: PlotPoints in plot
  • Next by thread: Re: PlotPoints in plot