Ask Your Question
0

What is the meaning of 3d graph?

asked 2017-05-26 12:48:26 -0500

screened00 gravatar image

updated 2017-05-26 13:48:28 -0500

kcrisman gravatar image

I read the reference manual. There I see only x,y. So how is the value of z decided? Example:

def f(x,y):
      return math.sin(y*y+x*x)/math.sqrt(x*x+y*y+.0001)

P = plot3d(f,(-3,3),(-3,3), adaptive=True, color=rainbow(60, 'rgbtuple'), max_bend=.1, max_depth=15)
P.show()

I also don't know how to paste the sage cell code, as only latex is the way here.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-05-26 14:35:58 -0500

ndomes gravatar image

The function f returns z values. That's all. Do not confuse with implicit_plot3d. There you normally use an expression containing x, y and z.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-05-26 12:48:26 -0500

Seen: 46 times

Last updated: May 26