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= "#5e9c36", explicit(sin(x),x,-%pi, %pi), label(["{/Times=14 a}",0.5,0.13]), label(["{/Helvetica-Oblique=18 a}",0.7,0.13]) )

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
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, 3000), 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, 3000));

load ("draw");

draw2d (yrange = [0, ...

Calculate

draw2d-explicit-load-sin-sum
draw2d(  grid = true,  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( grid = true,...

Calculate

draw2d-explicit-load
draw2d( explicit(ksub,x,0,10) );

load("draw");

k: -1/((1+1/x^2)^(3/2...

ksub: (z-2)/(2*(1+z)^...

Calculate

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

load("draw");

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

draw2d( explicit(f(x...

Calculate

draw2d-explicit-load
draw2d(nticks=1000,key="1/x", explicit(1/x,x,2,2.005),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,2,2.005));

load("draw");

draw2d(nticks=1000,ke...

Calculate

draw2d-explicit-load
draw2d (yrange = [-2,2], grid =true, explicit ((1/x)^12-2*(1/x)^6, x, 0, 5));

load ("draw");

draw2d (yrange = [-2,...

Calculate

draw2d-erf-explicit-integrate-load
draw2d(explicit(erf(x),x,-10,10));

load ("draw");

integrate(%e^(-x^2),[...

draw2d(explicit(erf(x...

Calculate

draw2d-exp-load-points-rk-sin
draw2d(points(sol));

load("dynamics");

sol:rk(exp(0.1*x^2)-x...

load("draw");

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-points
draw2d(implicit(y=0, x, -2, 2, y, -2, 2),implicit(x=0, x, -2, 2, y, -2, 2),color=red,point_size = 1,point_type = 1,points([[1.4, -0.74]]),terminal=pdf);

load("draw");

draw2d(implicit(y=0, ...

Calculate