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:

Draw3d

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

P:[2,0,0];
Q:[2,-3,4];
R:[0,4,5];
U:Q-P;
V:R-P;
U.V;
mU:sqrt(U[1]^2+U[2]^2+U[3]^2);
W:((U.V)/(mU^2))*U;
h:V-W;
mh:sqrt(h[1]^2+h[2]^2+h[3]^2);
romboide:float(mU*mh);
n:[-31,-8,-6];
paralelogramo:float(mn);
volumen:float(romboide*mn);
determinat(matrix(n,U,V));
determinant(matrix([i,j,k],U,V));
mn:sqrt(n[1]^2+n[2]^2+n[3]^2);
load(draw);
draw3d(head_length=0.1,color="violet",vector(P,U),vector(R,U),vector(P+n,U),vector(R+n,U),color="pink",vector(P,V),vector(Q,V),vector(P+n,V),vector(Q+n,V),color="purple",vector(P+W,h),vector(P,n),vector(Q,n),vector(R,n),vector(Q+V,n))

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

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

See also draw and gr3d.

(%o1)                                true
(%i2) 

Related Examples

draw3d-load
draw3d(enhanced3d = true, implicit(hyperboloid, x,-2,2,y,-2,2,z,-1.5,1.5), palette=[9,9,10]);

hyperboloid: x^2 + y^...

load("draw");

draw3d(enhanced3d = t...

Calculate

draw3d-explicit-load
 	draw3d(xyplane=0,        explicit(x^2+y^2,x,-1,1,y,-1,1),        user_preamble="set view ,,1,1");

load("draw");

draw3d(xyplane=0, ...

Calculate

draw3d-explicit-load-parametric
 draw3d(xyplane=0, surface_hide=true,      explicit(x^2+y^2, x,-3,3, y,-3,3),  implicit(x^2+x*y+y^2=3, x,-3,3, y,-3,3, z,0,10),  color=red,parametric(t ,3/t , t^2+9/t^2 , t, 1,  3));

load("draw");

draw3d(xyplane=0, su...

Calculate

draw3d-load
draw3d(enhanced3d = true, implicit(hyperboloid,x,-2,2,y,-2,2,z,-1.75,1.75));

hyperboloid: x^2 + y^...

load("draw");

draw3d(enhanced3d = t...

Calculate

draw3d-explicit-load
draw3d(explicit(x^2+y^2-2*x*y+2*y-2,x,-1,1,y,-1,1),        user_preamble="set view ,8,1.5, ");

load("draw");

draw3d(explicit(x^2+y...

Calculate

draw3d-explicit-load
 	draw3d(        explicit(x^2+y^2,x,-1,1,y,-1,1),        user_preamble="set view ,,0.35,5 ");

load("draw");

draw3d( expl...

Calculate

draw3d-load
draw3d(enhanced3d = true, implicit(hyperboloid, x,-2,2,y,-2,2,z,-1.5,1.5), palette=[9,9,10]);

hyperboloid: x^2 + y^...

load("draw");

draw3d(enhanced3d = t...

Calculate

draw3d-explicit-load-map
draw3d(explicit(f(x,y), x, -2, 2, y, -2, 2),contour = map);

load("draw");

f(x,y) := 2 * x^4 + 2...

draw3d(explicit(f(x,y...

Calculate

draw3d-explicit-load
 	draw3d(xyplane=0,        explicit(x^2+y^2,x,-1,1,y,-1,1),        user_preamble="set view ,,0.35,5 ");

load("draw");

draw3d(xyplane=0, ...

Calculate

draw3d-explicit-load
draw3d(key="a", color= blue, explicit(-x,x,-100,0,y,-100,0), key="b", color=red, explicit(-y,x,-100,0,y,-100,0));

load("draw");

draw3d(key="a", color...

Calculate