Maxima Function
contour_plot (expr, x_range, y_range, options, ...)
Plots the contours (curves of equal value) of expr
over the region x_range by y_range.
Any additional arguments are treated the same as in plot3d
.
contour_plot
only works when the plot format is gnuplot
or gnuplot_pipes
.
Examples:
(%i1) contour_plot (x^2 + y^2, [x, -4, 4], [y, -4, 4]); (%o1) (%i2) contour_plot (sin(y) * cos(x)^2, [x, -4, 4], [y, -4, 4]); (%o2) (%i3) F(x, y) := x^3 + y^2; 3 2 (%o3) F(x, y) := x + y (%i4) contour_plot (F, [u, -4, 4], [v, -4, 4]); (%o4) (%i5) contour_plot (F, [u, -4, 4], [v, -4, 4], [gnuplot_preamble, "set size ratio -1"]); (%o5) (%i6) set_plot_option ([gnuplot_preamble, "set cntrparam levels 12"])$ (%i7) contour_plot (F, [u, -4, 4], [v, -4, 4]);