summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/07-03-3.ltx
blob: 5ccf49e659d8d1545b65ee29f3f9053a227e8273 (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 07-03-3 auf Seite 106.
%% 
%%  Copyright (C) 2016 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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pstricks,pst-node}
%StopShownPreambleCommands
\begin{document}
\psset{unit=1.25cm}
\begin{pspicture}(-1,-0.75)(4,4)
  \psframe[fillstyle=vlines*](4,4)
  \pnode(1,1){A}\pnode(2.667,2){B}\pnode(3.7,3.6){C}
  \pscustom[fillstyle=hlines*]{
    \pscurve(0,0)(0.5,0.4)(A)
    \pscurve(A)(B)(C)
    \psline(C)(4,4|C)(4,0)(0,0)}
  \pscustom[fillstyle=crosshatch*]{
    \pscurve(0,0)(0.5,0.4)(A)
    \psline(A)(0.9,4)(0,4)(0,0)}
  \pscircle*[linecolor=red](0,2){3pt}
  \psframe[fillstyle=solid,fillcolor=white](C)(4,4)
  \psline[linestyle=dashed,linewidth=1pt](0,2)(4,2)
  \qdisk(A){3pt}\qdisk(B){3pt}\qdisk(C){3pt}
  \uput[-90](1,0){\footnotesize 0.01}
  \uput[-90](B|,0,0){\footnotesize 100}
  \uput[-90](C|,0,0){\footnotesize 374}
  \uput[180](0,1){\footnotesize 0.006}
  \uput[180](0,0|C){\footnotesize 218}
  \rput(2,-0.75){\footnotesize Temperature (C)}
  \rput{90}(-0.75,2){\footnotesize Pressure (Atm)}
\end{pspicture}
\end{document}