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:

Make_transform

Function: make_transform ([<var1>, <var2>, <var3>], <fx>, <fy>, <fz>) Returns a function suitable to be used in the option transform_xy of plot3d. The three variables <var1>, <var2>, <var3> are three dummy variable names, which represent the 3 variables given by the plot3d command (first the two independent variables and then the function that depends on those two variables). The three functions <fx>, <fy>, <fz> must depend only on those 3 variables, and will give the corresponding x, y and z coordinates that should be plotted. There are two transformations defined by default: polar_to_xy and spherical_to_xyz; see the documentation for those two transformations.

plot3d(0.5^( (1/sqrt(x^2+y^2))^2 + (max(0,sqrt(x^2+y^2)-5.0)/5.0)^2),[x,-20,20],[y,-20,20], [z,0,2],[transform_xy, make_transform([x,y,z],x,y,z)],[grid,200,200],[palette,[value,0.67,0.0,0.0,0.9]],[mesh_lines_color,false],[elevation,60],[azimuth,30]);

(%o1)                                true
(%i2) 

Related Examples