summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/36-00-18.ltx
blob: 75d8ffee673ed0ac612754de6569c59bde1c04a1 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 36-00-18 on page 776.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{201.70511pt}
\setlength\parindent{0pt}

\usepackage{pstricks}

\begin{document}
\begin{pspicture}(9,4)
  \begin{psclip}{\psellipse(3,2)(3,1)}
    \psellipse[fillstyle=solid,fillcolor=magenta](6,2)(3,1)
  \end{psclip}
  \psellipse(3,2)(3,1)
  \psellipse(6,2)(3,1)
  \rput(2,3.5){epistemische Indizes}
  \psline{->}(2,3.2)(2,2)
  \rput(7,0.5){faktische Indizes}
  \psline{->}(7,0.7)(7,2)
  \rput(4.5,2){\parbox{1.5cm}{\small realistische Indizes}}
\end{pspicture}

\newcommand\SurfaceA{\pscircle[fillstyle=vlines,hatchcolor=red](1,1){1}}
\newcommand\SurfaceB{\pscircle(2.5,3){2}}
\begin{pspicture}(5,5)
  \SurfaceA\SurfaceB
  \begin{psclip}{\SurfaceA}
    \psset{fillstyle=solid,fillcolor=blue}
    \SurfaceB
  \end{psclip}
\end{pspicture}
%
\renewcommand\SurfaceA{\psframe(1.5,0.5)(3.8,4.8)}
\renewcommand\SurfaceB{\psellipse(2,3.5)(1.5,1)}
\newcommand\SurfaceC{\pscircle(3.5,3){1.5}}
\newcommand\SurfaceD{\psdiamond(2.5,3)(2,1)}
\begin{pspicture}(5,5)
  \SurfaceA\SurfaceB\SurfaceC\SurfaceD
  \begin{psclip}{\SurfaceA\SurfaceB\SurfaceC\SurfaceD}
    \psset{fillstyle=solid,fillcolor=red}
    \SurfaceA
  \end{psclip}
\end{pspicture}
\end{document}