summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/visualpstricks/Source/fun.tex
blob: 68c28e8b702abcb2b84fcea3922300efb8b0e096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
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}