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(                       grid  =     true,                       line_type = solid,                       key       = "y^3+y^2-5*y-x^2=-4",                      implicit(y^3+y^2-5*y-x^2=-4, x, -4,4, y, -4,4),                                                                                        color="purple",explicit(-4/5*x+8/5,x,-4,4),explicit(-3.1,x,-4,4),explicit(1/8*x-25/8,x,-4,4));

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(    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-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-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-erf-explicit-load
draw2d(explicit(erf(x),x,-10,10));

load ("draw");

draw2d(explicit(erf(x...

Calculate

draw2d-load
draw2d(implicit(x^2+y^2=1,x,-1,1,y,-1,1));

load("draw");

dimensions(500,500);

draw2d(implicit(x^2+y...

Calculate

draw2d-load-parametric
draw2d(   grid=true,   xaxis=true,   yaxis=true,   xrange=[-4,4],   yrange=[-4,4],   title="The unit circle and the line x=3.",   color=black,   parametric(3,t,t,-4,4),   color=red,   implicit(x^2+y^2=1,x,-1,1,y,-1,1));

load("draw");

draw2d( grid=true, ...

Calculate

draw2d-explicit-load-sin-taylor
draw2d(    explicit(f,x,-1,1));

load("draw");

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

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

Calculate

draw2d-load
draw2d(fill_color  = red,                       line_width  = 6,                       line_type   = dots,                       transparent = false,                       fill_color  = blue,                       rectangle([-2,-2],[8,-1]), /* opposite vertices */                       transparent = true,                       line_type   = solid,                       line_width  = 1,                       rectangle([9,4],[2,-1.5]),                       xrange      = [-3,10],                       yrange      = [-3,4.5] );

load("draw");

draw2d(fill_color = ...

2**4;

Calculate

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

load ("draw");

draw2d (yrange = [-2,...

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

load("draw");

draw2d(implicit(y=0, ...

Calculate