3 @c makeinfo drawutils.texi to make .info
4 @c texi2html drawutils.texi to make .html
5 @c texi2pdf drawutils.texi to make .pdf
7 @setfilename drawutils.info
16 @dircategory Mathematics/Maxima
18 * drawutils: (maxima/drawutils). Maxima share package drawutils: additional drawing functions for package draw.
21 @node Top, Introduction to drawutils, (dir), (dir)
24 * Introduction to drawutils::
27 * Function and variable index::
30 @node Introduction to drawutils, Vector fields, Top, Top
31 @chapter Introduction to drawutils
33 Package @code{drawutils} contains user contributed code based on the @code{draw} package.
36 @node Vector fields, Venn diagrams, Introduction to drawutils, Top
37 @chapter Vector fields
39 By Donald J. Bindner (2010)
41 Functions for plotting vector fields in 2D and 3D.
44 @deffn {Function} plot_vector_field (@var{F}, @var{X}, @var{Y}, ... )
45 Draws a 2D vector field.
52 @var{F}: a vector containing field components.
55 @var{X}: name and bounds of first coordinate.
58 @var{Y}: name and bounds of second coordinate.
66 Those defined in the @code{draw} package.
68 @var{scale=1}: auto-scaling of arrows (default).
71 @var{scale=0}: no auto-scaling.
74 @var{scale=*}: adjust arrows shorter -- numbers between 0 and 1 or longer -- numbers greater than 1.
81 (%i1) load(drawutils)$
82 (%i2) plot_vector_field([-y,x], [x,-1,1], [y,-1,1])$
83 (%i3) plot_vector_field([-y,x], [x,-1,1], [y,-1,1],
90 @deffn {Function} plot_vector_field3d (@var{F}, @var{X}, @var{Y}, @var{Z}, ... )
91 Draws a 3D vector field.
98 @var{F}: a vector containing field components.
101 @var{X}: name and bounds of first coordinate.
104 @var{Y}: name and bounds of second coordinate.
107 @var{Z}: name and bounds of third coordinate.
115 Those defined in the @code{draw} package.
117 @var{scale=1}: auto-scaling of arrows (default).
120 @var{scale=0}: no auto-scaling.
123 @var{scale=*}: adjust arrows shorter -- numbers between 0 and 1 or longer -- numbers greater than 1.
130 (%i1) load(drawutils)$
131 (%i2) plot_vector_field3d([-y,x,z], [x,-1,1], [y,-1,1], [z,-1,1])$
132 (%i3) plot_vector_field3d([-y,x,z], [x,-1,1], [y,-1,1], [z,-1,1],
151 @node Venn diagrams, Function and variable index, Vector fields, Top
152 @chapter Venn diagrams
154 By Pankaj Sejwal (2015)
156 The @emph{vennplot} package enables the user to plot Venn diagram for any logical
157 relation. Logical atoms are represented as equally distanced circles of different
158 random colours which help in distinguishing different circles.
160 No known bug, but in case some issue needs to be addressed, please share it on
163 @deffn {Function} vennplot (@var{logical_expression})
164 Draws a basicVenn diagram.
169 (%i1) load(drawutils)$
170 (%i2) vennplot(a and b and not(c) and d)$
171 (%i3) vennplot(a and b and c and d)$
172 (%i4) vennplot(not(d))$
175 TODO : Filling circles with different colors
196 @node Function and variable index, , Venn diagrams, Top
197 @appendix Function and variable index