diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-20 23:40:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-20 23:40:41 +0000 |
commit | bb5bac178d0c714675e7c8b9bc0da3d2fbc5f706 (patch) | |
tree | 75b5602e39fcab86ac46bf7a84f9a3d43bbee487 /Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex | |
parent | bb8bcfa015dcd1dd689d8e37cb290245db10c3b8 (diff) |
visualpstricks (20feb16)
git-svn-id: svn://tug.org/texlive/trunk@39799 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex b/Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex new file mode 100644 index 00000000000..68c28e8b702 --- /dev/null +++ b/Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex @@ -0,0 +1,192 @@ +\label{fun} + +\TFRGB{utilisation du module}{Package} \og \textbf{pst-fun} \fg{} \label{pst-fun} + +\subsubsection{Commandes brutes} + +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize=-2.5 2.5, yticksize=-1 2, subticks=0](0,0)(-1,-2.5)(2,2.5){3cm}{5cm} + \psBill +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -.5 4.5,yticksize=0 7, subticks=0](0,0)(0,-.5)(7,4.5){7cm}{5cm } + \psFish +\end{psgraph} +\\ \hline +\BSS{psBill} \BSI{psBill}{pst-fun} +& + \BSS{psFish} \BSI{psFish}{pst-fun} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 2, subticks=0](0,0)(-2,-2.5)(2,2.5){4cm}{5cm } + \psLouisXIII +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -1.5 3.5,yticksize=0 4, subticks=0](0,0)(0,-1.5)(4,3.5){4cm}{5cm } +\psBird +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 2, subticks=0](0,0)(-2,-2.5)(2,2.5){4cm}{5cm } + \psAnt +\end{psgraph} +\\ \hline +\BSS{psLouisXIII} \BSI{psLouisXIII}{pst-fun} +& +\BSS{psBird} +& \BSS{psAnt} \BSI{psAnt}{pst-fun} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= 0 6 ,yticksize=0 11, subticks=0](0,0)(0,0)(11,6){11cm}{6cm } +\psPulpo +\end{psgraph} +\\ \hline +\BSS{psPulpo} \BSI{psPulpo}{pst-fun} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -.5 10.5 ,yticksize=0 8, subticks=0](0,0)(0,-.5)(8,10.5){8cm}{11cm } +\psLuke +\end{psgraph} + \\ \hline + \BSS{psLuke} \BSI{psLuke}{pst-fun} + \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= 0 7 ,yticksize=0 6, subticks=0](0,0)(0,0)(6,7){6cm}{7cm } + \psParrot{1} +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= 0 7 ,yticksize=0 6, subticks=0](0,0)(0,0)(6,7){6cm}{7cm } +\psParrot{.5} +\end{psgraph} + \\ \hline + \BSS{psParrot}\AC{1} \BSI{psParrot}{pst-fun} + & +\BSS{psParrot}\AC{.5} + \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= 0 5 ,yticksize=-3 3, subticks=0](0,0)(-3,0)(3,5){6cm}{5cm } +\psKangaroo{1} +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= 0 5 ,yticksize=-3 3, subticks=0](0,0)(-3,0)(3,5){6cm}{5cm } +\psKangaroo{5} +\end{psgraph} +\\ \hline +\BSS{psKangaroo}\AC{1} \BSI{psKangaroo}{pst-fun} +& +\BSS{psKangaroo}\AC{5} +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=-2 3, subticks=0](0,0)(-2,-2)(3,3){5cm}{5cm } +\psPig(0,0) +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=-2 3, subticks=0](0,0)(-2,-2)(3,3){5cm}{5cm } + \psPig(1,1) +\end{psgraph} +\\ \hline + \BSS{psPig}(0,0) \BSI{psPig}{pst-fun} + & + \BSS{psPig}(1,1) + \\ \hline + \end{tabular} + + + + + +\subsubsection{options} + +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,2.5){5cm}{5cm } + \psAnt[fillcolor=red] +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,2.5){5cm}{5cm } + \psAnt[fillstyle=slope] +\end{psgraph} +\\ \hline +\BS{psAnt}[{\red fillcolor}=red] & \BS{psAnt}[{\red fillstyle}=slope] +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -2.5 3.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,3.5){5cm}{6cm } + \rput(1,1){\psAnt} +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -2.5 3.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,3.5){5cm}{6cm } + \rput{-60}{\psAnt} +\end{psgraph} +\\ \hline +\BSS{rput} {\red (1,1)}\AC{\BS{psAnt}} & \BSS{rput}{\red \AC{-60}}\AC{\BS{psAnt}} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -1.5 2.5,yticksize=-1 2, subticks=0](0,0)(-1,-1.5)(2,2.5){3cm}{4cm } + \psscalebox{0.5}{\psAnt} +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -1.5 2.5,yticksize=-1 2, subticks=0](0,0)(-1,-1.5)(2,2.5){3cm}{4cm } + \rput(1,1){\psscalebox{0.5}{\psAnt}} +\end{psgraph} +\\ \hline +\BSS{psscalebox}\AC{0.5}\AC{\BS{psAnt}} & \BS{rput}\AC{\BSS{psscalebox}\AC{0.5}\AC{\BS{psAnt}} } +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline + \begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=0 10, subticks=0](0,0)(0,-2)(10,3){10cm}{5cm} +%\begin{pspicture}[showgrid](0,-1.3)(10,3) + \psBird[Branch] % \rput{-20}(4,1.8){\psBird} +\end{psgraph} +\\ \hline + \BS{psBird}[\RDD{Branch}] \RDI{Branch}{pst-fun} +\\ \hline +\end{tabular} + + + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{psgraph}[axesstyle=none,xticksize= -2 2 ,yticksize=-2 2, subticks=0](0,0)(-2,-2)(2,2){4cm}{4cm} +\psPig[ eyeColor=red](0,0) +\end{psgraph} +& +\begin{psgraph}[axesstyle=none,xticksize= -2 2 ,yticksize=-2 2, subticks=0](0,0)(-2,-2)(2,2){4cm}{4cm } +\psPig[noseColor=yellow](0,0) +\end{psgraph} +\\ \hline +\BS{psPig}[\RDD{eyeColor}=red](0,0) \RDI{eyeColor}{pst-fun} +& +\BS{psPig}[\RDD{noseColor}=yellow](0,0) \RDI{noseColor}{pst-fun} +\\ \hline + \end{tabular}
\ No newline at end of file |