Re: MaxBend in ParametricPlot?
- To: mathgroup at smc.vnet.net
- Subject: [mg13042] Re: MaxBend in ParametricPlot?
- From: weber at math.uni-bonn.de (Matthias Weber)
- Date: Sat, 4 Jul 1998 16:44:47 -0400
- Organization: RHRZ - University of Bonn (Germany)
- References: <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
In article <6n9qfj$a7h at smc.vnet.net>, "Jrgen Tischer"
<jtischer at col2.telecom.com.co> wrote:
> Ted, you are very kind.
Indeed, thanks to Ted I now understand the behaviour of the adaption
process behind Plot and ParametricPlot near horizontal/vertical parts
of the plot better.
> I think it's a deep misunderstanding on behalf of Matthias to expect a
> carefully adapted algorithm for rendering on an anisotropic device to
> isotropic results.
Certainly. I don't think it is the task of ParametricPlot to generate
device specific graphics instructions. If the approximation of a curve
by a polygon is not smooth enough, one should approximate it by (say)
Bezier splines (which are available in postscript, though not in
Mathematica's current driver as far as I know), and not try to solve
the smoothness problem within the part of the algorithm which should
supply the user with a reusable object.
> I confess I was too lazy to write the function to
> Matthias' problem.
You are forgiven here. Below a simple uniform adaptive solution, which
fulfills at least my needs. I haven't benchmarked it, but if one puts
MaxBend->5, I get usually less points than ParametricPlot and it scales
pretty well too. And I can use the resulting object for transformations
like rotations or to compose 3D objects from it.
There is no help button available for this function, but if you ask,
Jürgen will certainly supply one.
angle[p_,q_]:=Abs[Arg[(q[]+I q[])/(p[]+I p[])]];
Prev by Date:
Re: Re: How to declare Integers?
Next by Date:
Previous by thread:
Re: Problems with interpolating
Next by thread: