
KTUG FAQ
You will be recognized and honored as a community leader.
FrontPage › Asymptote
r1.2°ú ÇöÀç ¹öÀüÀÇ Â÷ÀÌÁ¡
@@ -4,12 +4,10 @@
inspired by '''MetaPost''', with a much cleaner, powerful C++-like programming syntax and floating-point numerics;
http://asymptote.sourceforge.net/gallery/
===
Asymtote
Asymptote and LaTeX ===
http://asymptote.sourceforge.net/doc/LaTeX-usage.htmlhttp://www.dse.nl/~dario/projects/asylatex/
inspired by MetaPost, with a much cleaner, powerful C++-like programming syntax and floating-point numerics;
[ÆíÁý]
Sample ¶
%% pdflatex -> asy -> pdflatex %% \documentclass[12pt]{article} \usepackage{kotex} \usepackage{asymptote} \begin{document} (º°·Î ¾È) °£´ÜÇÑ 3D ¿¹Á¦. \begin{center} \begin{asy}[height=8cm,attach=false] // sinc.asy import graph3; import contour; currentprojection=orthographic(1,-2,1); currentlight=(1,-1,0.5); size(12cm,0); real sinc(pair z) { real r=2pi*abs(z); return r != 0 ? sin(r)/r : 1; } draw(lift(sinc,contour(sinc,(-2,-2),(2,2),new real[] {0})),red); draw(surface(sinc,(-2,-2),(2,2),Spline),lightgray+opacity(0.5)); xaxis3("$x$",Bounds,InTicks); yaxis3("$y$",Bounds,InTicks(beginlabel=false)); zaxis3("$z$",Bounds,InTicks); \end{asy} \end{center} \end{document}