RE: 4 Straight segments !!
- To: mathgroup at smc.vnet.net
- Subject: [mg38836] RE: [mg38807] 4 Straight segments !!
- From: "David Park" <djmp at earthlink.net>
- Date: Wed, 15 Jan 2003 02:20:34 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Payton,
It is difficult to do that by adjusting the options in Plot because
Mathematica uses built-in adaptive plotting algorithms that are difficult to
completely control.
But it is certainly easy to make a 4-segment plot.
pts = Table[{x, x^2}, {x, -1, 1, 2/4}];
Show[Graphics[
{Line@pts}],
Frame -> True];
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
From: Payton [mailto:payton_200 at yahoo.fr]
To: mathgroup at smc.vnet.net
How can I adjust the Plot options PlotPoints,PlotDivision and MaxBend
so that the graph of f(x) = x^2 consists of exactly four straight
segments.