KTUGFaq
KTUG FAQ
"It seems strange to meet computer geeks who're still primarily running Windows... as if they were still cooking on a wood stove or something." - mbp
- PSTricks ÂüÁ¶.
- PSTricks ȨÆäÀÌÁö
[ÆíÁý]
Plotting Functions with PSTricks ¶
* presented at KTUG 5Áֳ⠱â³ä Çмú´ëȸ (2007³â 1¿ù 27ÀÏ)
- pstricks and pst-plot:
- Timothy Van Zandt, PSTricks: PostScript macros for Generic TeX. User's Guide,'' ver. 0.93a, March 12, 1993.
- at http://tug.org/PSTricks/doc/pst-usrfull.pdf
- pstricks-add:
- Dominique Rodriguez and Herbert Vo\ss, pstricks-add: addtionals Macros for pstricks,'' ver. 2.82, November 14, 2006.
- at http://tug.ctan.org/tex-archive/graphics/pstricks/contrib/pstricks-add/pstricks-add-doc.pdf
- pst-func:
- Herbert Vo\ss, pst-func : plotting special mathematical functions,'' ver. 0.46, September 16, 2006.
- at http://tug.ctan.org/tex-archive/graphics/pstricks/contrib/pst-func/pst-func-doc.pdf
- pstricks ±âº»±â´É »ç¿ë (Çʼö)
- pstricks ¸Å´º¾ó IIÀå 11Àý (p.19) ÂüÁ¶
- \usepackage{pst-plot}
- pst-plotÀÇ ¿¹: http://tug.org/PSTricks/pst-plot/pst-plotDemo.pdf
- °í±Þ±â´É »ç¿ë (Çʼö)
- pstricks-add ¸Å´º¾ó ÂüÁ¶
- \usepackage{pstricks-add}
- pstricks, pst-plot ÀÚµ¿·ÎµåµÊ.
- pst-infixplot ÆÐÅ°ÁöÀÇ infix notation »ç¿ë±â´ÉÀº pstricks-add ÆÐÅ°ÁöÀÇ algebraic(¶ÇÇÑ polarplot) ¿É¼Ç¿¡ ¿ÏÀüÈ÷ ¹Ý¿µµÇ¾î ÀÖÀ¸¹Ç·Î, pst-infixplot ÆÐÅ°Áö¸¦ »ç¿ëÇÒ ÇÊ¿ä ¾øÀ½.
%% À§ ½º¸¶ÀÏÀÇ ¼Ò½º (inspired by ischo's children) %% latex -> dvips -> ps2pdf \documentclass[dvips]{oblivoir} \usepackage{pstricks-add} \begin{document} \begin{pspicture}[showgrid=false](-1,-1)(3,2) %\psaxes[ticks=none]{->}(-.5,-.5)(-1,-1)(2.5,3) \psset{linewidth=1.5pt,fillstyle=solid} \pscircle[fillcolor=yellow](1,1){1cm} \psarc[fillcolor=yellow](1,1){0.75}{193}{347} \psplot[algebraic]{1.65}{1.85}{-2/3*x+2} \psplot[algebraic]{0.15}{0.35}{2/3*(x+1)} \psellipse[fillcolor=black](.6,1.3)(.15,.25) \psellipse[fillcolor=black](1.4,1.3)(.15,.25) \pscircle[fillcolor=white](.55,1.4){.8mm} \pscircle[fillcolor=white](1.35,1.4){.8mm} \end{pspicture} \end{document}
- ºÎ°¡±â´É »ç¿ë (Ãßõ)
- pst-func ¸Å´º¾ó ÂüÁ¶
- \usepackage{pst-func}
- pstricks-add ÀÚµ¿·ÎµåµÊ.
%% À§ 3Â÷ ÇÔ¼öÀÇ ±×·¡ÇÁÀÇ ¼Ò½º \documentclass[dvips]{oblivoir} %\usepackage{pstricks-add} \usepackage{pst-func} \begin{document} \psset{unit=1.3} \begin{pspicture}(-1.5,-1.3)(3.2,1.8) \psaxes[Dy=2,labelFontSize=\tiny](0,0)(-1.5,-1.3)(3.2,2.2) \psset{coeff=1 -0.5 -1 0.5,plotpoints=1000,linewidth=1.2pt} \psset{dotscale=1.5} \psPolynomial[markZeros,linecolor=blue]{-1.3}{2.6} \psset{zeroLineStyle=dotted,dotsep=1pt,zeroLineTo=0} \psset{coeff=1 -0.5 -1 0.5,markZeros,dotstyle=o} \psPolynomial[Derivation=1,linestyle=none]{-0.67}{2} \uput[u](3,1.7){$f(x)=1-0.5x-x^2+0.5x^3$} \end{pspicture}\psset{unit=1cm} \end{document}
- ±âŸ
- pst-math: À§ ÆÐÅ°Áö¿¡ ¾ø´Â ¸î°¡Áö Ãß°¡±â´ÉÀÌ ÀÖÀ¸³ª, ´ëºÎºÐÀÇ ±â´ÉÀº À§ÀÇ ÆÐÅ°Áö·Î ±¸ÇöÇÒ ¼ö ÀÖÀ½. °ü½É ÀÖ´Â °æ¿ì¿¡ º¼ ¼ö ÀÖµµ·Ï ¼Ò°³ÇÔ.
- http://tug.ctan.org/tex-archive/graphics/pstricks/contrib/pst-math/pst-math.pdf
- (pst-infixplot ÀÌÈÄ¿¡,) pstricks-add ÀÌÀü¿¡ ·ÎµåÇÏ¿©¾ß ÇÔ.
- pst-math: À§ ÆÐÅ°Áö¿¡ ¾ø´Â ¸î°¡Áö Ãß°¡±â´ÉÀÌ ÀÖÀ¸³ª, ´ëºÎºÐÀÇ ±â´ÉÀº À§ÀÇ ÆÐÅ°Áö·Î ±¸ÇöÇÒ ¼ö ÀÖÀ½. °ü½É ÀÖ´Â °æ¿ì¿¡ º¼ ¼ö ÀÖµµ·Ï ¼Ò°³ÇÔ.