Log in to edit a copy.
Download.
Other published documents...
m223countour
799 days ago by jozefl
Pretty contour plots are easy to produce in Sage.
var('x,y') f = x^2+y^2 myplot=contour_plot(f,(x,-3,3),(y,-3,3), aspect_ratio=1,fill=False, cmap='prism', contours=range(11)) show(myplot)
var('x,y') f = (e^x)*cos(y) myplot = contour_plot(f2,(x,0,6),(y,-6,6), aspect_ratio=1,fill=False, cmap='hsv', contours=range(-10,10)) show(myplot)
var('x,y') f = 7*x^2+2*x*y+3*y^2+5*x+11*y myplot = contour_plot(f,(x,-2,2),(y,-5,2),aspect_ratio=1,fill=False, cmap='hsv', contours=range(-10,10)) show(myplot)