Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Contour_plot Calculator

Contour_plot

Function: contour_plot (<expr>, <x_range>, <y_range>, <options>, ...) It 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(F*C,[F,0,10],[C,0,100]);

This function only works when the plot format is either gnuplot or gnuplot_pipes. The additional package implicit_plot can also be used to plot contours and it works for any format. See implicit_plot.

Examples:

          (%i1) contour_plot (x^2 + y^2, [x, -4, 4], [y, -4, 4])$

          (%i1) F(x, y) := x^3 + y^2;
                                             3    2
          (%o1)                  F(x, y) := x  + y
          (%i2) contour_plot (F, [u, -4, 4], [v, -4, 4])$

You can add any options accepted by plot3d; for instance, the option legend with a value of false, to remove the legend. Gnuplot chooses, by default, 3 contours to show. to increase the number of levels, it is necessary to specify a custom gnuplot preamble:

          (%i1) contour_plot (u^3 + v^2, [u, -4, 4], [v, -4, 4],
          (%i2) [legend,false], [gnuplot_preamble,"set cntrparam levels 12"])$

(%o1)                                true
(%i2) 

Contour_plot Example

Related Examples

contour_plot
contour_plot( x^6+3*x^2*y^4 +y^2 +3*x^4*y^2 +y^6 +x^2 -4*x^3*y -4*x*y^3 -x^4 -2*x^2*y^2 -y^4, [x, -1, 1], [y, -1, 1]);

contour_plot( x^6+3*x...

Calculate

contour_plot-plot3d
plot3d (x^3/(%e^(a*x)), [x,0,50], [a,0.1,0.5],[gnuplot_preamble, "set cntrparam levels 20"]);

plot3d (x^3/(%e^(a*x)...

contour_plot (x^3/(%e...

Calculate

contour_plot-cos-diff-plot2d-sec-sin-sublis
contour_plot (x^2 + y^2, [x, -5, 5], [y, -5, 5]);

x^6 +19*x^5 + x^4 - 1...

integrand: x^2*y*diff...

path: [x = cos(t), y ...

Calculate

contour_plot
contour_plot(x^2 + y^2, [x, -4, 4], [y, -4, 4]);

contour_plot(x^2 + y^...

Calculate

contour_plot-exp-min-plot3d-sqrt-sum-true
plot3d([min(T(x,0,z),1600),[x,-30,3],[z,-5,0]],[mesh_lines_color, true], [colorbox, true],[legend,"T [celsius]"],[elevation,30],[azimuth,30]);

if numer#false then n...

Ti:20;

q:0.75*3100;

Calculate

contour_plot-max
contour_plot([max(x,y),[x,0,10],[y,0,10]]);

contour_plot([max(x,y...

Calculate

contour_plot-exp-float-min-plot3d-sqrt-sum-true
plot3d([min(T(x,0,z),1600),[x,-30,3],[z,-5,0]],[mesh_lines_color, true], [colorbox, true],[legend,"T [celsius]"],[elevation,30],[azimuth,30]);

float(if numer#false ...

Ti:20;

q:0.75*3100;

Calculate

contour_plot
contour_plot(100*0.5^((AngularVelocity/TrackingSpeed*400/400)^2),[AngularVelocity,0.0,1.0],[TrackingSpeed,0.0,1.0],[legend,"%"],[grid,100,100],[color,black,black,black,black,yellow,black,black,black,black,black],[gnuplot_preamble, "set cntrparam levels 5"]);

contour_plot(100*0.5^...

Calculate

contour_plot
contour_plot(f(x,y), [x,-3.5,3.5], [y,-3.5,3.5]);

f(x,y):= ((x^99 + y^9...

contour_plot(f(x,y), ...

Calculate

contour_plot
contour_plot (x^3/(%e^(a*x)), [x,0,50],[a,0.1,0.5], [gnuplot_preamble, "set cntrparam levels 100"]);

contour_plot (x^3/(%e...

Calculate