This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: would create a contour plot with the six given contour values. You can change the color of the contour lines; for example, "color=green". You can force the plot to use the same scaling on the x and y axes (so a circle really looks like a circle) with "scaling=constrained". If the curves in the contour plot look jagged, you can increase the resolution with the option "grid=[Nx,Ny]", where you replace Nx and Ny with integers that give the x and y resolutions. The default is [25,25]. Here are some examples that use these options: > contourplot(f,x=1. .1,y=1. .1,contours=21,color=blue,scaling=const rained); > g := x^2y^2+y^3; := g + x 2 y 2 y 3 > contourplot(g,x=1. .1,y=1. .1,contours=[0.4,0.2,0,0.2,0.4],grid= [41,41],scaling=constrained); >...
View
Full Document
 Spring '08
 McAllister
 Math, contour plot, Warren Weckesser

Click to edit the document details