summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/07-03-3.ltx
blob: 12a14abae104a58dd0707c7932d4372d0421649c (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
%% 
%%  A DANTE-Edition example
%% 
%% 
%%  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{375.57637pt}
\setlength\parindent{0pt}

\usepackage{pstricks,pst-node}

\begin{document}
\SpecialCoor
\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}