Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1838 > unrolled thread
| Started by | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| First post | 2011-04-23 11:49 +0000 |
| Last post | 2011-04-23 11:49 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Plotting multiple curves via BezierFunction "Christopher O. Young" <cy56@comcast.net> - 2011-04-23 11:49 +0000
| From | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| Date | 2011-04-23 11:49 +0000 |
| Subject | Plotting multiple curves via BezierFunction |
| Message-ID | <iouebk$6fa$1@smc.vnet.net> |
On 4/22/11 5:02 AM, "Christopher O. Young" <cy56@comcast.net> wrote:
> I'm new at Mathematica and I'm having a hard time finding a quick way to plot a series
> of curves. Here I'm trying to plot multiple copies of Bezier curves.
>
> The C array is a list of 3D point-lists for each of the curves, and works fine
> when I'm plotting the surface. (BezierCurve is extremely rough in 3D, at least
> here, for some reason.
>
> What's a fast way to just go through the list of curve-point lists here?
>
> ParametricPlot3D[
> For[j = 1, j <= \[ScriptCapitalN], j++,
>
BezierFunction[\[DoubleStruckCapitalC][[j]]][u]
> ], {u, 0, 1}
> ]
All I needed was:
ParametricPlot3D[
Table[
BezierFunction[\[DoubleStruckCapitalC][[j]]][u],
{j, \[ScriptCapitalN]}
],
{u, 0, 1}
]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web