Development of a Maple Macro Package Suitable for Drawing TeX-Pictures Masayoshi SEKIGUCHI, Satoshi YAMASHITA, & Setsuo TAKATO Kisarazu National College of Technology, JAPAN
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 2 We have developed “KETpic”
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 3 ¿What is KETpic?
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 4 KETpic is a Macro Package for Maple
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 5 ¿What can we do with KETpic?
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 6 We can draw Fine Pictures
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 7 ¿How fine?
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 8 By “fine”, I mean Accurate & Beautiful
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 9 In addition, Low Cost (except for Maple)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 10 Because KETpic requires LaTeX (easy)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 11 But No PostScript Printer (economy)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 12 Outline of Today’s Talk 1.Motivation / Background 2.How to use KETpic 3.Demonstration 4.Other Examples
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN Motivation or Background
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 14 We must create mathematical pictures for education & research
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 15 And we must print them
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 16 ¿Any alternative?
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 17 We know some programs, for instance, gnuplot, Tgif, pgplot, WinTpic, emath (the last two are Japanese)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 18 We think they are insufficient because
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 19 They are not Computer Algebra System (CAS)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 20 We know many CAS Maple, Mathematica muPad, Risa/Asir.
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 21 Plain Maple and Mathematica can output pictures in EPS format
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 22 Unfortunately their pictures are POOR (Accurate but not beautiful)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 23 Because their pictures cannot include Mathematical Expressions
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 24 For Example
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 25 ¿Why Maple?
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 26 Actually, we have no experiences of muPad and Risa/Asir. But we have a clear reason to choose Maple.
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 27 Maple can output any plot data in characters while Mathematica cannot.
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 28 Then, we can manipulate them as suitable for Tpic Specials (A graphical extension for LaTeX)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN How to use KETpic
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 30 (1) Install LaTeX & Maple into your computer
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 31 (2) Download KETpic Windows ⇒ ketpicw.m Macintosh ⇒ ketpic.m Linux ⇒ one of two It contains “template.tex” and command references
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 32 (3) Make a working folder in your computer In the following demonstration, we use “C:\TexF” (“\”: back slash)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 33 (4) Run Maple and
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 34 (4-1) Load KETpic > read `C:\\TeXF/ketpicw.m`;
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 35 (4-2) Plot pictures by usual Maple commands or by ketpic commands > f:=plot(f(x),x=-1..2): > frmdisp(f):
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 36 (4-3) Write down the data on your file >openfile(`C:\\TeXF/file.tex`); >openpicture(1cm): >drawline(f): >closepicture(): >closefile();
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 37 (4-4) Usual LaTeX Printing
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 38 ¡Go Demonstration!
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 39 First Example
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 40
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 41 The Other Examples
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 42 1)Solution Curves for the Volterra Equation & its Vector Field.
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 43
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 44 2) Dirac’s Delta F. & its Laplace Transform
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 45
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 46 3) Hemisphere describing polar coordinate system
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 47 Hidden Line Elimination (1)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 48 4) Intersection of two cylinders
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 49 Hidden Line Elimination (2) Perspective Projection A stereogram (cross-eyed view)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 50 5) The Lorentz Attractor
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 51 Perspective Projection A stereogram (cross-eyed view)
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 52 Summary KETpic takes a full advantage of Maple Accurate, Beautiful, Easy, Economy
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 53 Now on developing KETpic Please use KETpic, and send us a bug report.
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 54 Thank You Very Much Muchisimas Gracias por sus atencion どうも有難うございました
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 55
3 Septiembre 2006ICMS 2006, Castro Urdiales, SPAIN 56 Fine Art? – Dashed Line –