I think that parametric plot could work in this simple example.
r,phi,y=var('r phi y')
A=parametric_plot3d([r*cos(phi)+2,r*sin(phi)+3,(r*cos(phi)+2)^2+(r*sin
(phi)+3)^2],(r,0,2),(phi,0,2*pi),opacity=0.9)
B=parametric_plot3d([r*cos(phi)+2,r*sin(phi)+3,0],(r,0,2),(phi,
0,2*pi),rgbcolor='red')
C=plot3d(x^2+y^2,(x,-6,6),(y,-6,6),opacity=0.1,rgbcolor='green')
show(A+B+C)
Robert
On 11 Bře, 05:32, Rob Beezer <[email protected]> wrote:
> Hi Carl,
>
> Yes, I meant over the interior. ;-) Thanks for the explanation of
> what's coming in implicit_plot3d() - sounds like it will be a good
> addition.
>
> > > In other words, could I plot x^2+y^2 *only* above the circle (x-2)^2 +
> > > (y-3)^2=4?
> > Of course, implicit_plot3d is a bad way to plot this function, because
> > it will be far slower than plot3d.
>
> Am I missing a way to plot this function, so I only see the portion
> above (the interior of) the circle, by using plot3d()?
>
> Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-edu" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---