Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6816

Re: Plotting being aborted with RegionBoundary

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Plotting being aborted with RegionBoundary
Date 2011-11-29 12:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jb2i98$5jq$1@smc.vnet.net> (permalink)
References <201111281055.FAA19813@smc.vnet.net>

Show all headers | View raw


Where's the "torus" function? It's a very dull plot without it.

Bobby

On Mon, 28 Nov 2011 04:55:04 -0600, Chris Young <cy56@comcast.net> wrote:

> If I try to use more than 125 PlotPoints or so, the plotting is being
> aborted here.
>
>
> Manipulate[
>  ParametricPlot3D[
>   torus[c, a, u, v], {u, 0, 2 π}, {v, 0, 2 π},
>   MeshFunctions -> {{x, y, z, θ, φ} ⊂ z + Tan[tilt] x},
>   RegionFunction -> ({x, y, z, θ, φ} ⊂ z <= -Tan[tilt] x),
>   Mesh -> mesh,
>   MeshStyle -> {Lighter[Yellow], Tube[tubeR]},
>   (*BoundaryStyle ->{Lighter[Red],Tube[tubeR]},*)
>  BoundaryStyle -> {Lighter[Red], Thick},
>   PlotStyle -> {Orange, Opacity[opac]},
>   PlotPoints -> plotPts,
>   Axes -> True,
>   AxesLabel -> {"x", "y", "z"},
>   PlotRange -> {{-4, 4}, {-4, 4}, {-3, 3}},
>   BoxRatios -> {8, 8, 6},
>   ViewPoint ->
>    {
>     viewR Cos[viewθ] Sin[viewφ],
>     viewR Sin[viewθ] Sin[viewφ],
>     viewR Cos[viewφ]
>     },
>   PerformanceGoal -> "Quality"
>   ],
> {{c, 3}, 0, 4},
>  {{a, 1}, 0, 3},
>  {{sphereR, 0.1}, 0, 0.5},
>  {{tubeR, 0.05}, 0, 0.5},
>  {{opac, 0.5}, 0, 1},
>  {{mesh, 1}, 0, 16, 1},
>  {{tilt, N[ArcSin[a/c]]}, 0, π/2, π/36},
>  {{plotPts, 50}, 0, 200, 5},
>  {{viewR, 100}, 0, 100, 5},
>  {{viewθ, π/2}, 0, 2 π, π/36},
>  {{viewφ, π/2}, 0, π, π/36}
>  ]
>
>


-- 
DrMajorBob@yahoo.com

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Plotting being aborted with RegionBoundary DrMajorBob <btreat1@austin.rr.com> - 2011-11-29 12:13 +0000

csiph-web