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