MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Re: How to set linewidth in 3-D graphics?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50098] Re: [mg50090] Re: [mg50016] Re: How to set linewidth in 3-D graphics?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 15 Aug 2004 03:14:24 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I don't know if this bears directly on the question but ParametricPlot3D and
ParametricPlot work by quite different algorithms. Plotting a curve in
ParametricPlot3D is rather a degenerate case of plotting a surface. Look at
the different primitives in the two cases.

plot1 = ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 2Pi},
      DisplayFunction -> Identity];

First[plot1]

You get a single line with adaptive points.

plot2 = ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, 2Pi},
      DisplayFunction -> Identity];

First[plot2]

You get multiple Lines with nonadaptive points.

I think it would have made more sense to use PlotStyle instead of putting
the plot directives as the fourth argument in the parametrization. But
having decided to do it that way they just abandoned PlotStyle or never
considered it in the first place.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



From: Murray Eisenberg [mailto:murray at math.umass.edu]
To: mathgroup at smc.vnet.net

Yes, your code works -- and an interesting graphical treatment, too!

But it is not unreasonable to expect, say

   ParametricPlot3D[{Cos[phi], Sin[phi], phi}, {phi, 0,
     2Pi}, PlotStyle -> Thickness[0.01]]

to work, since the 2D analog

   ParametricPlot[{Sin[t], Cos[t]}, {t, 0, Pi}, PlotStyle ->
Thickness[0.01]]

does work as expected.

Jens-Peer Kuska wrote:

> Hi,
>
> it is not possible ? realy ? and what does
>
> ParametricPlot3D[
>   {Cos[phi], Sin[phi], phi, Thickness[0.1phi/(2Pi)]}, {phi, 0, 2Pi}]
>
> Regards
>   Jens
>
> ffdfsdfsdfsdfsd wrote:
>
>>On 2 May 1997 03:07:54 -0400, Yaroslaw Bazaliy wrote:
>>
>>>Dear All:
>>>I plot a curve in 3-D with "ParametricPlot3-D". I would like to
>>>be able to change the thickness of the curve. Is it possible?
>>>I 2-D the option PlotStyle did it...
>>>Thanks for all suggestions.
>>>Yaroslaw.
>>
>>No
>
>
>

--
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305




  • Prev by Date: Re: Re: Smalest enclosing circle
  • Next by Date: Re: Another Combinatorica loading problem
  • Previous by thread: Re: How to set linewidth in 3-D graphics?
  • Next by thread: How to install Combinatorica