Upload
anka
View
38
Download
0
Tags:
Embed Size (px)
DESCRIPTION
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. We have developed “KETpic”. ¿What is KETpic?. KETpic is a Macro Package for Maple. - PowerPoint PPT Presentation
Citation preview
Development of a Maple Macro Package Suitable for Drawing TeX-Pictures
Masayoshi SEKIGUCHI,Satoshi YAMASHITA, & Setsuo TAKATO
[email protected] National College of Technology, JAPAN
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
2
We have developed“KETpic”
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
3
¿What is KETpic?
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
4
KETpic isa Macro Package
for Maple
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
5
¿What can we dowith KETpic?
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
6
We candraw Fine Pictures
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
7
¿How fine?
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
8
By “fine”, I meanAccurate & Beautiful
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
9
In addition,Low Cost
(except for Maple)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
10
Because KETpic requires
LaTeX(easy)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
11
ButNo PostScript Printer
(economy)
3 Septiembre 2006 ICMS 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 2006 ICMS 2006, Castro Urdiales, SPAIN
13
1. Motivation or
Background
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
14
We must createmathematical pictures
foreducation & research
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
15
And we mustprint them
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
16
¿Any alternative?
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
17
We know some programs,
for instance,gnuplot, Tgif, pgplot,
WinTpic, emath(the last two are Japanese)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
18
We thinkthey are insufficient
because
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
19
They are notComputer Algebra
System(CAS)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
20
We know many CASMaple,
MathematicamuPad,
Risa/Asir.
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
21
Plain Maple andMathematica canoutput picturesin EPS format
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
22
Unfortunatelytheir pictures are
POOR(Accurate but not beautiful)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
23
Becausetheir pictures
cannot includeMathematicalExpressions
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
24
For Example
1
1
3cscN
k N
k
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
25
¿Why Maple?
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
26
Actually, we have no experiencesof muPad and Risa/Asir.
But we have a clearreason to choose
Maple.
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
27
Maple can outputany plot datain characters
while Mathematica cannot.
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
28
Then, we canmanipulate the
mas suitable forTpic Specials(A graphical extension for LaTeX)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
29
2. How to use KETpic
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
30
(1) Install LaTeX & Maple into your computer
3 Septiembre 2006 ICMS 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
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
32
(3) Make a working folder in your computerIn the following demonstration,we use “C:\TexF” (“\”: back slash)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
33
(4) Run Maple and
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
34
(4-1) Load KETpic
> read `C:\\TeXF/ketpicw.m`;
3 Septiembre 2006 ICMS 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 2006 ICMS 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 2006 ICMS 2006, Castro Urdiales, SPAIN
37
(4-4) Usual LaTeX Printing
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
38
¡Go Demonstration!
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
39
First Example
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
40
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
41
The Other Examples
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
42
1)Solution Curves forthe Volterra Equation
& its Vector Field.
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
43
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
44
2) Dirac’s Delta F.&
its Laplace Transform
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
45
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
46
3) Hemispheredescribing
polar coordinatesystem
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
47
Hidden Line Elimination (1)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
48
4) Intersection oftwo cylinders
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
49
Hidden Line Elimination (2)Perspective Projection
A stereogram (cross-eyed view)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
50
5) The LorentzAttractor
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
51
Perspective ProjectionA stereogram (cross-eyed view)
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
52
Summary• KETpic takesa full advantage of Maple
• Accurate, Beautiful, Easy, Economy
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
53
Now on developing
KETpic•Please use KETpic, and send us a bug report.
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
54
Thank You Very Much
Muchisimas Graciaspor sus atencion
どうも有難うございました
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
55
3 Septiembre 2006 ICMS 2006, Castro Urdiales, SPAIN
56
Fine Art? – Dashed Line –