# how do i plot 3d planes like x=1

I plotted z=x^2+y^2 and would like to add some planes to the diagram. How do i plot x=1?

how do i plot 3d planes like x=1

I plotted z=x^2+y^2 and would like to add some planes to the diagram. How do i plot x=1?

add a comment

1

Plots are objects that can be added, so you can first create the plot of your function:

```
sage: F = plot3d(lambda x,y: x^2+y^2, [-2,2], [-2,2])
```

Then the plot of the plane $x=1$

```
sage: P = implicit_plot3d(lambda x,y,z: x-1, (-2,2), (-2,2), (-2,8))
```

Then you can add them on a common plot:

```
sage: F+P
```

thanks a lot, didn't know could use lambda to pass functions in sage (completely new to this package)

Asked: **
2015-03-08 04:22:49 -0500
**

Seen: **725 times**

Last updated: **Mar 08 '15**

add a plane defined by two vectors

How to save a 3d plot from sage cell

Unexpected behavior of log() in complex plane

3d plot in vector format: still using matplotlib?

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D properly?

How to setup Java and Safari for interactive 3D plots under Mavericks

Interactive viewers for 3d plots?

sage.plot.plot3d.shapes2.Line() does not work in the cloud

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.