560 likes | 690 Views
Development of a Maple Macro Package Suitable for Drawing TeX-Pictures. Masayoshi SEKIGUCHI, Satoshi YAMASHITA, & Setsuo TAKATO masa@kisarasu.ac.jp Kisarazu National College of Technology, JAPAN. We have developed “KETpic”. ¿What is KETpic?. KETpic is a Macro Package for Maple.
E N D
Development of a Maple Macro Package Suitable for Drawing TeX-Pictures Masayoshi SEKIGUCHI, Satoshi YAMASHITA, & Setsuo TAKATO masa@kisarasu.ac.jp Kisarazu National College of Technology, JAPAN
We have developed“KETpic” ICMS 2006, Castro Urdiales, SPAIN
¿What is KETpic? ICMS 2006, Castro Urdiales, SPAIN
KETpic isa Macro Packagefor Maple ICMS 2006, Castro Urdiales, SPAIN
¿What can we dowith KETpic? ICMS 2006, Castro Urdiales, SPAIN
We candraw Fine Pictures ICMS 2006, Castro Urdiales, SPAIN
¿How fine? ICMS 2006, Castro Urdiales, SPAIN
By “fine”, I meanAccurate & Beautiful ICMS 2006, Castro Urdiales, SPAIN
In addition,Low Cost (except for Maple) ICMS 2006, Castro Urdiales, SPAIN
Because KETpic requiresLaTeX(easy) ICMS 2006, Castro Urdiales, SPAIN
ButNo PostScript Printer(economy) ICMS 2006, Castro Urdiales, SPAIN
Outline of Today’s Talk • Motivation / Background • How to use KETpic • Demonstration • Other Examples ICMS 2006, Castro Urdiales, SPAIN
1. Motivation or Background ICMS 2006, Castro Urdiales, SPAIN
We must createmathematical picturesforeducation & research ICMS 2006, Castro Urdiales, SPAIN
And we mustprint them ICMS 2006, Castro Urdiales, SPAIN
¿Any alternative? ICMS 2006, Castro Urdiales, SPAIN
We know some programs,for instance,gnuplot, Tgif, pgplot, WinTpic, emath(the last two are Japanese) ICMS 2006, Castro Urdiales, SPAIN
We thinkthey are insufficientbecause ICMS 2006, Castro Urdiales, SPAIN
They are notComputer AlgebraSystem(CAS) ICMS 2006, Castro Urdiales, SPAIN
We know many CASMaple,MathematicamuPad,Risa/Asir. ICMS 2006, Castro Urdiales, SPAIN
Plain Maple andMathematica canoutput picturesin EPS format ICMS 2006, Castro Urdiales, SPAIN
Unfortunatelytheir pictures arePOOR(Accurate but not beautiful) ICMS 2006, Castro Urdiales, SPAIN
Becausetheir picturescannot includeMathematicalExpressions ICMS 2006, Castro Urdiales, SPAIN
For Example ICMS 2006, Castro Urdiales, SPAIN
¿Why Maple? ICMS 2006, Castro Urdiales, SPAIN
Actually, we have no experiencesof muPad and Risa/Asir. But we have a clearreason to chooseMaple. ICMS 2006, Castro Urdiales, SPAIN
Maple can outputany plot datain characterswhile Mathematica cannot. ICMS 2006, Castro Urdiales, SPAIN
Then, we canmanipulate themas suitable forTpic Specials (A graphical extension for LaTeX) ICMS 2006, Castro Urdiales, SPAIN
2. How to use KETpic ICMS 2006, Castro Urdiales, SPAIN
(1) Install LaTeX & Maple into your computer ICMS 2006, Castro Urdiales, SPAIN
(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 ICMS 2006, Castro Urdiales, SPAIN
(3) Make a working folder in your computer In the following demonstration,we use “C:\TexF” (“\”: back slash) ICMS 2006, Castro Urdiales, SPAIN
(4) Run Maple and ICMS 2006, Castro Urdiales, SPAIN
(4-1) Load KETpic > read `C:\\TeXF/ketpicw.m`; ICMS 2006, Castro Urdiales, SPAIN
(4-2) Plot pictures by usual Maple commands or byketpic commands > f:=plot(f(x),x=-1..2):> frmdisp(f): ICMS 2006, Castro Urdiales, SPAIN
(4-3) Write down the data on your file >openfile(`C:\\TeXF/file.tex`);>openpicture(1cm):>drawline(f):>closepicture():>closefile(); ICMS 2006, Castro Urdiales, SPAIN
(4-4) Usual LaTeX Printing ICMS 2006, Castro Urdiales, SPAIN
¡Go Demonstration! ICMS 2006, Castro Urdiales, SPAIN
First Example ICMS 2006, Castro Urdiales, SPAIN
The Other Examples ICMS 2006, Castro Urdiales, SPAIN
1)Solution Curves forthe Volterra Equation& its Vector Field. ICMS 2006, Castro Urdiales, SPAIN
2) Dirac’s Delta F.&its Laplace Transform ICMS 2006, Castro Urdiales, SPAIN
3) Hemispheredescribingpolar coordinatesystem ICMS 2006, Castro Urdiales, SPAIN
Hidden Line Elimination (1) ICMS 2006, Castro Urdiales, SPAIN
4) Intersection oftwo cylinders ICMS 2006, Castro Urdiales, SPAIN
Hidden Line Elimination (2)Perspective ProjectionA stereogram (cross-eyed view) ICMS 2006, Castro Urdiales, SPAIN
5) The LorentzAttractor ICMS 2006, Castro Urdiales, SPAIN