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:

Draw2d

Function: draw2d (<option>, <graphic_object>, ...) This function is a short cut for draw(gr2d(<options>, ..., <graphic_object>, ...)).

load(draw);
draw2d (xaxis=true, yaxis = true, xrange = [-13,13], yrange = [-10,10], grid=true,explicit(x^2, x,-1,1),implicit(x^2+y^2=1, x,-1.3,1.3, y,-1,1));

It can be used to plot a unique scene in 2d.

To make use of this function, write first load(draw).

See also draw and gr2d.

(%o1)                                true
(%i2) 

Related Examples

draw2d-explicit-load-sin-sum
draw2d(  grid = true,  explicit(f(x,5), x, 10^(-4), 10^(-3)),  xlabel="x", ylabel="y");

load("draw");

f(x,k) = sum(2^p * si...

draw2d( grid = true,...

Calculate

draw2d-explicit-load
draw2d (yrange = [0, 0.0020],explicit (4*%pi*(28e-3/(2*%pi*8.3144*298))^(3/2)*x^2*exp(-28e-3*x^2/(2*8.3144*298)), x, 0, 5000), explicit (4*%pi*(28e-3/(2*%pi*8.3144*1273))^(3/2)*x^2*exp(-28e-3*x^2/(2*8.3144*1273)), x, 0, 5000));

load ("draw");

draw2d (yrange = [0, ...

Calculate

draw2d-explicit-load-sin-taylor
draw2d(    xrange = [-20,20],    yrange = [-20,20],    xaxis = true, xaxis_type = solid, xaxis_width = 1,    xaxis_color = orange, xtics = 1,    yaxis = true, yaxis_type = solid, yaxis_width = 1,    yaxis_color = orange, ytics = 1,    nticks = 10,    explicit(f,x,-20,20),    color = red,    line_width = 2,    explicit(g,x,-20,20),    explicit(h,x,-20,20));

load("draw");

f:(e^x)*(sin((11/3)*x...

g:taylor(f,x,0,5);

Calculate

draw2d-load
draw2d(point_type    = square,             color            = blue,             points_joined = true,             line_type     = dots,             points([[0,3],[1,0],[2,5]]),             color            = red,             points_joined = true,             line_type     = dots,             points([[0,1],[1,4],[2,3]]));

load("draw");

draw2d(point_type ...

5**(-1);

Calculate

draw2d-explicit-load
  draw2d(explicit(x^2,x,-2,2));

load ("draw");

draw2d(explicit(x^2...

Calculate

draw2d-explicit-load
draw2d (explicit (4*%pi*(28e-3/(2*%pi*8.3144*298))^(3/2)*x^2*exp(-28e-3*x^2/(2*8.3144*298)), x, -5000, 5000));

load ("draw");

draw2d (explicit (4*%...

Calculate

draw2d-load
draw2d(point_type    = square,             color            = blue,             points_joined = true,             line_type     = dots,             points([[0,3],[1,0],[2,5]]),             color            = red,             points_joined = true,             line_type     = dots,             points([[0,1],[1,4],[2,3]]));

load("draw");

draw2d(point_type ...

3+56;

Calculate

draw2d-load-points
draw2d(   grid=true,   xaxis=true,   yaxis=true,   xrange = [a-1, c+1],   yrange = [b-1, d+1],   color=red,   point_type=7,   points([[a,b],[c,d]]));

load("draw");

a:-.51;

b:-3.47;

Calculate

draw2d-load-points-sqrt
draw2d(implicit(y=0, x, -2, 2, y, -2, 2),implicit(x=0, x, -2, 2, y, -2, 2),color=red,point_type = 7,points([[2**(1/4)*(sqrt(2)/2), 2**(1/4)*(sqrt(2)/2)],[2**(1/4)*-(sqrt(2)/2), 2**(1/4)*(sqrt(2)/2)],[2**(1/4)*-(sqrt(2)/2), 2**(1/4)*-(sqrt(2)/2)],[2**(1/4)*(sqrt(2)/2), 2**(1/4)*-(sqrt(2)/2)], [9**(1/4)*(sqrt(3)/2), 9**(1/4)*0.5],[9**(1/4)*-0.5, 9**(1/4)*(sqrt(3)/2)],[9**(1/4)*-(sqrt(3)/2), 9**(1/4)*-0.5],[9**(1/4)*0.5, 9**(1/4)*-(sqrt(3)/2)]]),terminal=pdf);

load("draw");

draw2d(implicit(y=0, ...

Calculate

draw2d-explicit-load-sqrt
draw2d (explicit (1e16/sqrt(%pi*1.5e-17)*exp(-x^2/(4*1.5e-17*3600)),x,-2e-6,2e-6),explicit (1e16/sqrt(%pi*1e-16)*exp(-x^2/(4*1e-16*3600)),x,-2e-6,2e-6) );

load ("draw");

draw2d (explicit (1e1...

Calculate