FYI

On Jan 19, 2008, at 9:05 PM, SAGE wrote:

> #1859: [with patch; positive review] 3d and 2d graphics -- some  
> unification
> ------------------------- 
> +--------------------------------------------------
>  Reporter:  was          |        Owner:  robertwb
>      Type:  enhancement  |       Status:  assigned
>  Priority:  major        |    Milestone:  sage-2.10.1
> Component:  graphics     |   Resolution:
>  Keywords:               |
> ------------------------- 
> +--------------------------------------------------
> Changes (by was):
>
>   * summary:  [with patch] 3d and 2d graphics -- some unification  
> => [with
>               patch; positive review] 3d and 2d graphics --
>               some unification
>
> Comment:
>
>  AWESOME!!
>
>  Just playing around
>  {{{
>  sage: var('x y'); p1 = parametric_plot3d((x,y,0), (x,-2,2), (y,-2,2),
>  color='red', opacity=0.5)
>  (x, y)
>  sage: p2 = plot(sin(x),(-2,2)).plot3d().translate(0,0,0.1)
>  sage: p1 + p2 + sphere((0,0,1),0.01) + polygon([(0,0), (0,1), (1,2),
>  (2,0)]).plot3d().translate((0,0,-0.1)) + sphere((0,0,-1),0.1)
>
>  }}}

Even easier, use z=... in plot3d()

  sage: var('x y');
  (x, y)
  sage: p1 = parametric_plot3d((x,y,0), (x,-2,2), (y,-2,2),  
color='red', opacity=0.5)
  sage: p2 = plot(sin(x),(-2,2)).plot3d(z=0.1)
  sage: p1 + p2 + sphere((0,0,1),0.01) + polygon([(0,0), (0,1),  
(1,2), (2,0)]).plot3d(z=-0.1) + sphere((0,0,-1),0.1)

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to