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(nticks=1000,key="cos x", explicit(cos(x),x,-1,-0.98),color=red,key="Taylori polünoom",explicit(1-x**2/2+x**4/24,x,-1,-0.98),terminal=pdf,file_name="h:\\ma3\\17s\\graafik2");

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-taylor
draw2d(    grid = true,    color = red,    explicit((e^x)*sin(11/3*x^3),x,-1,1));

load("draw");

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

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

Calculate

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

load ("draw");

draw2d (yrange = [-2,...

Calculate

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

load("draw");

draw2d ( explicit ( s...

Calculate

draw2d-explicit-load
draw2d( explicit(k,x,10,10) );

load("draw");

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

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

Calculate

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

load("draw");

draw2d ( explicit ( s...

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_size = 1,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)]]),terminal=pdf);

load("draw");

draw2d(implicit(y=0, ...

Calculate

draw2d-explicit-load-sin-sum
draw2d(  grid = true,  explicit(f(x,5), x, 10^(-4), 10^(-3)),  color=red, explicit(f(x,10), x, 10^(-4), 10^(-3)),  color=blue, explicit(f(x,50), 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(nticks=1000,key="1/x", explicit(1/x,x,2,2.02),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.02));

load("draw");

draw2d(nticks=1000,ke...

Calculate

draw2d-explicit-load-sin-taylor
draw2d(    xrange = [-200,200],    yrange =  [-200,200],    font = Arial,    font_size = 14,    nticks = 250,    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-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