- #1
- 2
- 0
I have an equation with two variables x and y.
I wish to plot a function in 3d (let's say cosine) with x and y as parameters.
I know the plot3d command in Maple is as follows:
My question is this: how would I modify the increment values of x and y which are plotted?
For instance I want x=-1 to 1 but only in 0.25 increments and y=-1 to 1 in 0.1 increments.
A second question is: How do I display each value for what maple is plotting in 3d?
for instance:
f(x,y) = cos(x+y) => f(x,y) = ?
x = some value between -1 and 1 (in 0.25 increments)
y = some value between -1 and 1 (in 0.1 increments)
for question 2, basically I'm looking for something like [seq(f(x),x=a..b,increment)]
I wish to plot a function in 3d (let's say cosine) with x and y as parameters.
I know the plot3d command in Maple is as follows:
Code:
plot3d(cos(x+y),x=-1..1, y =-1..1);
My question is this: how would I modify the increment values of x and y which are plotted?
For instance I want x=-1 to 1 but only in 0.25 increments and y=-1 to 1 in 0.1 increments.
A second question is: How do I display each value for what maple is plotting in 3d?
for instance:
f(x,y) = cos(x+y) => f(x,y) = ?
x = some value between -1 and 1 (in 0.25 increments)
y = some value between -1 and 1 (in 0.1 increments)
for question 2, basically I'm looking for something like [seq(f(x),x=a..b,increment)]