MAins
- 17
- 0
For a function f(x,y) what commands do I use to plot the coresponding surface from, say, -2 </= x, y </= 2? How would I then plot contours?
This discussion focuses on using Maple 11 to plot 3D surfaces and contour plots for the function f(x,y) = x / sqrt(1 + x^2 + y^2). Users can utilize the commands 'plot3d' for 3D surface plotting and 'contourplot' for generating contour plots within the specified range of -2 to 2 for both x and y. The commands provided are essential for visualizing mathematical functions effectively in Maple 11.
PREREQUISITESMathematicians, educators, students, and anyone interested in visualizing complex functions using Maple 11.
restart;
with(plots);
f:=(x,y)->x/(1+x^2+y^2)^(1/2);
plot3d(f(x,y),x=-2..2,y=-2..2);
contourplot(f(x,y),x=-2..2,y=-2..2,contours=25);