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(color = "#e245f0", line_width = 1,                       polygon([[3,2],[7,2],[5,5]]), border = false,fill_color = yellow,polygon([[5,2],[9,2],[7,5]]));

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 (explicit(exp(-x^2),x,-3,3));

load ("draw");

draw2d (explicit(exp(...

Calculate

draw2d-explicit-load
draw2d(nticks=1000,key="1/x", explicit(1/x,x,3.9,4),color=red,key="Taylori polünoom",explicit(1/3-(1/9)*(x-3)+(1/27)*(x-3)**2-(1/81)*(x-3)**3+(1/243)*(x-3)**4-(1/729)*(x-3)**5,x,3.9,4));

load("draw");

draw2d(nticks=1000,ke...

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,-3,2),    explicit(g,x,-3,2),    explicit(h,x,-3,2));

load("draw");

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

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

Calculate

draw2d-explicit-load-points
draw2d(      xrange=[-25,25],      yrange=[-20,20],      yaxis=true,      grid=true,      title="Problema #10",      point_type=diamant,      point_size=2,      points([[0,9]]),      explicit(f(x),x,-25,25),      color=blue,      point_type=circle,      point_size=2,      points([[3,0]]),      color=blue,      point_type=circle,      point_size=2,      points([[-3,0]]),      color=red,      label(["Interseccion en y",-1/2,8])      );

load("draw");

f(x):=((x^2-9)/(x^2-2...

draw2d( xrange=[...

Calculate

draw2d-explicit-load-sqrt
draw2d(      title="grafica problema #4",     color="red",     explicit(f(x),x,0,4)       );

load("draw");

f(x):=(2*x)/(sqrt(3*x...

draw2d( title="g...

Calculate

draw2d-explicit-load-sin-sum
draw2d(  explicit(f(x,1), x, 10^(-4), 10^(-3)),  color=red, explicit(f(x,5), x, 10^(-4), 10^(-3)),  color=blue, explicit(f(x,30), x, 10^(-4), 10^(-3)),  color=green, explicit(f(x,200), x, 10^(-4), 10^(-3)),  xlabel="x", ylabel="y");

load("draw");

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

draw2d( explicit(f(x...

Calculate

draw2d-explicit-load-points-sqrt
draw2d(      xrange=[-1,60],      yrange=[-1,20],      yaxis=true,      grid=true,      title="Problema #4",      explicit(f(x),x,-1,60),      color=blue,      point_type=circle,      point_size=2,      points([[1/3,2]]),      color=red,      label(["Continuidad",0,1/2])      );

load("draw");

f(x):=((2*x)/(sqrt(3*...

draw2d( xrange=[...

Calculate

draw2d-explicit-load-sin-taylor
draw2d(    xrange = [-200,200],    yrange =  [-200,200],    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,    font = Arial,    font_size = 14,    nticks = 250,    color = blue,    line_width = 3,    line_type = solid,    explicit(f,x,-300,300));

load("draw");

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

g:taylor((e^x)*(sin(1...

Calculate

draw2d-explicit-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]]),   color=black,   explicit(LINE(a,b,c,d,x),x,a-1,c+1)   );

load("draw");

a:-.51;

b:-3.47;

Calculate