Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1992

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

Search the Archive

Re: Clipping ParametricPlot3D

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: Clipping ParametricPlot3D
  • From: twj
  • Date: Tue, 6 Oct 92 18:09:25 CDT

>Does anyone know how to clip the ViewingBox of a ParametricPlot3D. 

>You can specify the range of the values for the z-coordinate by  
>using PlotRange -> {val,val}, but I did not find a way to specify a  
>range for  the x an y coordinates. 


PlotRange is a very versatile command.

PlotRange -> {zmin, zmax}

PlotRange -> {{ xmin, xmax}, {ymin, ymax}, {zmin, zmax}}

PlotRange -> { Automatic, {zmin, zmax}, All}

are all possible settings.  Thus

In[3]:= ParametricPlot3D[ {Sin[z] Sin[t], Sin[z] Cos[t], z},
                {z,-Pi, Pi}, {t,0,2Pi},                

                PlotRange -> {{ 0, 1}, {0,1}, {0,1}}]

is what you are asking for.



>I would also be interested in viewing cuts of ParametricPlot3D,  
>where I could specify a plane which intersects the object and all  
>the points above or below the plane are left out. Perhaps anybody  
>has written a package to deal with this problem.

This is an interesting idea.   My initial idea would be to write a  
package that ended spitting out a ContourPlot command.

Tom Wickham-Jones

WRI





  • Prev by Date: Clipping ParametricPlot3D
  • Next by Date: Re: Memory management by Share[]?
  • Previous by thread: Clipping ParametricPlot3D
  • Next by thread: ReplaceAll feature