Automated Generation of Diagrams with Maple and Java - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Book Sections Year : 2003

Automated Generation of Diagrams with Maple and Java


This note shows how to draw diagrams automatically from the predicate specification of a given set of geometric relations among a set of points in the plane. It is done first in Maple by translating the geometric relations into polynomial equations, decomposing the obtained system of polynomials into irreducible representative triangular sets, and finding an adequate numerical solution from each triangular set. A Java class coding the solution and the polynomials in each triangular set is generated, compiled, and then executed with the main Java programs to draw a diagram. The whole process combining symbolic elimination in Maple with numerical computation, graphic drawing, and letter labelling in Java is fully automatic. The drawn diagrams may be animated and fine-tuned by mouse click and dragging and saved as PostScript files. We present the drawing method, discuss some techniques of implementation, and give several sample diagrams drawn by our program.
No file

Dates and versions

inria-00099637 , version 1 (26-09-2006)


  • HAL Id : inria-00099637 , version 1


Dongming Wang. Automated Generation of Diagrams with Maple and Java. M. Joswig, N. Takayama. Algebra, Geometry, and Software Systems, Springer-Verlag, Berlin Heidelberg, pp.277-287, 2003. ⟨inria-00099637⟩
60 View
0 Download


Gmail Facebook Twitter LinkedIn More