| 1 |
\label{fun} |
| 2 |
|
| 3 |
\TFRGB{utilisation du module}{Package} \og \textbf{pst-fun} \fg{} \label{pst-fun} |
| 4 |
|
| 5 |
\subsubsection{Commandes brutes} |
| 6 |
|
| 7 |
\begin{tabular}{|c|c|} \hline |
| 8 |
\begin{psgraph}[axesstyle=none,xticksize=-2.5 2.5, yticksize=-1 2, subticks=0](0,0)(-1,-2.5)(2,2.5){3cm}{5cm} |
| 9 |
\psBill |
| 10 |
\end{psgraph} |
| 11 |
& |
| 12 |
\begin{psgraph}[axesstyle=none,xticksize= -.5 4.5,yticksize=0 7, subticks=0](0,0)(0,-.5)(7,4.5){7cm}{5cm } |
| 13 |
\psFish |
| 14 |
\end{psgraph} |
| 15 |
\\ \hline |
| 16 |
\BSS{psBill} \BSI{psBill}{pst-fun} |
| 17 |
& |
| 18 |
\BSS{psFish} \BSI{psFish}{pst-fun} |
| 19 |
\\ \hline |
| 20 |
\end{tabular} |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
\bigskip |
| 25 |
|
| 26 |
\begin{tabular}{|c|c|c|} \hline |
| 27 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 2, subticks=0](0,0)(-2,-2.5)(2,2.5){4cm}{5cm } |
| 28 |
\psLouisXIII |
| 29 |
\end{psgraph} |
| 30 |
& |
| 31 |
\begin{psgraph}[axesstyle=none,xticksize= -1.5 3.5,yticksize=0 4, subticks=0](0,0)(0,-1.5)(4,3.5){4cm}{5cm } |
| 32 |
\psBird |
| 33 |
\end{psgraph} |
| 34 |
& |
| 35 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 2, subticks=0](0,0)(-2,-2.5)(2,2.5){4cm}{5cm } |
| 36 |
\psAnt |
| 37 |
\end{psgraph} |
| 38 |
\\ \hline |
| 39 |
\BSS{psLouisXIII} \BSI{psLouisXIII}{pst-fun} |
| 40 |
& |
| 41 |
\BSS{psBird} |
| 42 |
& \BSS{psAnt} \BSI{psAnt}{pst-fun} |
| 43 |
\\ \hline |
| 44 |
\end{tabular} |
| 45 |
|
| 46 |
\bigskip |
| 47 |
|
| 48 |
\begin{tabular}{|c|} \hline |
| 49 |
\begin{psgraph}[axesstyle=none,xticksize= 0 6 ,yticksize=0 11, subticks=0](0,0)(0,0)(11,6){11cm}{6cm } |
| 50 |
\psPulpo |
| 51 |
\end{psgraph} |
| 52 |
\\ \hline |
| 53 |
\BSS{psPulpo} \BSI{psPulpo}{pst-fun} |
| 54 |
\\ \hline |
| 55 |
\end{tabular} |
| 56 |
|
| 57 |
\bigskip |
| 58 |
|
| 59 |
\begin{tabular}{|c|} \hline |
| 60 |
\begin{psgraph}[axesstyle=none,xticksize= -.5 10.5 ,yticksize=0 8, subticks=0](0,0)(0,-.5)(8,10.5){8cm}{11cm } |
| 61 |
\psLuke |
| 62 |
\end{psgraph} |
| 63 |
\\ \hline |
| 64 |
\BSS{psLuke} \BSI{psLuke}{pst-fun} |
| 65 |
\\ \hline |
| 66 |
\end{tabular} |
| 67 |
|
| 68 |
\bigskip |
| 69 |
\begin{tabular}{|c|c|} \hline |
| 70 |
\begin{psgraph}[axesstyle=none,xticksize= 0 7 ,yticksize=0 6, subticks=0](0,0)(0,0)(6,7){6cm}{7cm } |
| 71 |
\psParrot{1} |
| 72 |
\end{psgraph} |
| 73 |
& |
| 74 |
\begin{psgraph}[axesstyle=none,xticksize= 0 7 ,yticksize=0 6, subticks=0](0,0)(0,0)(6,7){6cm}{7cm } |
| 75 |
\psParrot{.5} |
| 76 |
\end{psgraph} |
| 77 |
\\ \hline |
| 78 |
\BSS{psParrot}\AC{1} \BSI{psParrot}{pst-fun} |
| 79 |
& |
| 80 |
\BSS{psParrot}\AC{.5} |
| 81 |
\\ \hline |
| 82 |
\end{tabular} |
| 83 |
|
| 84 |
\bigskip |
| 85 |
\begin{tabular}{|c|c|} \hline |
| 86 |
\begin{psgraph}[axesstyle=none,xticksize= 0 5 ,yticksize=-3 3, subticks=0](0,0)(-3,0)(3,5){6cm}{5cm } |
| 87 |
\psKangaroo{1} |
| 88 |
\end{psgraph} |
| 89 |
& |
| 90 |
\begin{psgraph}[axesstyle=none,xticksize= 0 5 ,yticksize=-3 3, subticks=0](0,0)(-3,0)(3,5){6cm}{5cm } |
| 91 |
\psKangaroo{5} |
| 92 |
\end{psgraph} |
| 93 |
\\ \hline |
| 94 |
\BSS{psKangaroo}\AC{1} \BSI{psKangaroo}{pst-fun} |
| 95 |
& |
| 96 |
\BSS{psKangaroo}\AC{5} |
| 97 |
\\ \hline |
| 98 |
\end{tabular} |
| 99 |
|
| 100 |
|
| 101 |
\bigskip |
| 102 |
\begin{tabular}{|c|c|} \hline |
| 103 |
\begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=-2 3, subticks=0](0,0)(-2,-2)(3,3){5cm}{5cm } |
| 104 |
\psPig(0,0) |
| 105 |
\end{psgraph} |
| 106 |
& |
| 107 |
\begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=-2 3, subticks=0](0,0)(-2,-2)(3,3){5cm}{5cm } |
| 108 |
\psPig(1,1) |
| 109 |
\end{psgraph} |
| 110 |
\\ \hline |
| 111 |
\BSS{psPig}(0,0) \BSI{psPig}{pst-fun} |
| 112 |
& |
| 113 |
\BSS{psPig}(1,1) |
| 114 |
\\ \hline |
| 115 |
\end{tabular} |
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
\subsubsection{options} |
| 122 |
|
| 123 |
\begin{tabular}{|c|c|} \hline |
| 124 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,2.5){5cm}{5cm } |
| 125 |
\psAnt[fillcolor=red] |
| 126 |
\end{psgraph} |
| 127 |
& |
| 128 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 2.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,2.5){5cm}{5cm } |
| 129 |
\psAnt[fillstyle=slope] |
| 130 |
\end{psgraph} |
| 131 |
\\ \hline |
| 132 |
\BS{psAnt}[{\red fillcolor}=red] & \BS{psAnt}[{\red fillstyle}=slope] |
| 133 |
\\ \hline |
| 134 |
\end{tabular} |
| 135 |
|
| 136 |
|
| 137 |
\bigskip |
| 138 |
\begin{tabular}{|c|c|} \hline |
| 139 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 3.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,3.5){5cm}{6cm } |
| 140 |
\rput(1,1){\psAnt} |
| 141 |
\end{psgraph} |
| 142 |
& |
| 143 |
\begin{psgraph}[axesstyle=none,xticksize= -2.5 3.5,yticksize=-2 3, subticks=0](0,0)(-2,-2.5)(3,3.5){5cm}{6cm } |
| 144 |
\rput{-60}{\psAnt} |
| 145 |
\end{psgraph} |
| 146 |
\\ \hline |
| 147 |
\BSS{rput} {\red (1,1)}\AC{\BS{psAnt}} & \BSS{rput}{\red \AC{-60}}\AC{\BS{psAnt}} |
| 148 |
\\ \hline |
| 149 |
\end{tabular} |
| 150 |
|
| 151 |
\bigskip |
| 152 |
\begin{tabular}{|c|c|} \hline |
| 153 |
\begin{psgraph}[axesstyle=none,xticksize= -1.5 2.5,yticksize=-1 2, subticks=0](0,0)(-1,-1.5)(2,2.5){3cm}{4cm } |
| 154 |
\psscalebox{0.5}{\psAnt} |
| 155 |
\end{psgraph} |
| 156 |
& |
| 157 |
\begin{psgraph}[axesstyle=none,xticksize= -1.5 2.5,yticksize=-1 2, subticks=0](0,0)(-1,-1.5)(2,2.5){3cm}{4cm } |
| 158 |
\rput(1,1){\psscalebox{0.5}{\psAnt}} |
| 159 |
\end{psgraph} |
| 160 |
\\ \hline |
| 161 |
\BSS{psscalebox}\AC{0.5}\AC{\BS{psAnt}} & \BS{rput}\AC{\BSS{psscalebox}\AC{0.5}\AC{\BS{psAnt}} } |
| 162 |
\\ \hline |
| 163 |
\end{tabular} |
| 164 |
|
| 165 |
\bigskip |
| 166 |
\begin{tabular}{|c|c|} \hline |
| 167 |
\begin{psgraph}[axesstyle=none,xticksize= -2 3 ,yticksize=0 10, subticks=0](0,0)(0,-2)(10,3){10cm}{5cm} |
| 168 |
%\begin{pspicture}[showgrid](0,-1.3)(10,3) |
| 169 |
\psBird[Branch] % \rput{-20}(4,1.8){\psBird} |
| 170 |
\end{psgraph} |
| 171 |
\\ \hline |
| 172 |
\BS{psBird}[\RDD{Branch}] \RDI{Branch}{pst-fun} |
| 173 |
\\ \hline |
| 174 |
\end{tabular} |
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
\bigskip |
| 179 |
\begin{tabular}{|c|c|} \hline |
| 180 |
\begin{psgraph}[axesstyle=none,xticksize= -2 2 ,yticksize=-2 2, subticks=0](0,0)(-2,-2)(2,2){4cm}{4cm} |
| 181 |
\psPig[ eyeColor=red](0,0) |
| 182 |
\end{psgraph} |
| 183 |
& |
| 184 |
\begin{psgraph}[axesstyle=none,xticksize= -2 2 ,yticksize=-2 2, subticks=0](0,0)(-2,-2)(2,2){4cm}{4cm } |
| 185 |
\psPig[noseColor=yellow](0,0) |
| 186 |
\end{psgraph} |
| 187 |
\\ \hline |
| 188 |
\BS{psPig}[\RDD{eyeColor}=red](0,0) \RDI{eyeColor}{pst-fun} |
| 189 |
& |
| 190 |
\BS{psPig}[\RDD{noseColor}=yellow](0,0) \RDI{noseColor}{pst-fun} |
| 191 |
\\ \hline |
| 192 |
\end{tabular} |