summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/15-05-12.ltx
blob: 7fa61124218027ee75e2f0fe3d64d95daeb48dac (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
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%% 
%%  Copyright (C) 2010 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{190.324pt}
\setlength\parindent{0pt}
\usepackage{filecontents}
\begin{filecontents*}{data3.dat}
 0.000  -2.50   0.005  -1.99  0.010  -0.30
 0.015  4.13  0.020  13.38  0.025  28.98  0.030  50.90  0.035  77.54  0.040  107.38
 0.045  140.64  0.050  178.40  0.055  219.83  0.060  261.04  0.065  296.91  0.070  324.44
 0.075  343.62  0.080  355.50  0.085  361.69  0.090  365.03  0.095  368.62  0.100  373.63
 0.105  378.46  0.110  380.61  0.115  379.02  0.120  373.82  0.125  365.64  0.130  356.65
 0.135  350.11  0.140  346.68  0.145  342.68  0.150  333.46  0.155  318.08  0.160  300.16
 0.165  284.50  0.170  274.03  0.175  269.79  0.180  271.15  0.185  275.29  0.190  278.41
 0.195  278.36  0.200  276.25  0.205  274.57  0.210  273.76  0.215  271.64  0.220  266.67
 0.225  259.84  0.230  253.63  0.235  249.81  0.240  248.42  0.245  248.77  0.250  250.60
 0.255  254.21  0.260  259.40  0.265  264.37  0.270  266.65  0.275  265.49  0.280  262.59
 0.285  260.82  0.290  261.87  0.295  264.55  0.300  265.84  0.305  263.56  0.310  257.47
 0.315  248.74  0.320  238.67  0.325  227.49  0.330  214.46  0.335  198.64  0.340  179.05
 0.345  154.73  0.350  125.23  0.355  91.14  0.360  53.95  0.365  15.45  0.370  -21.37
 0.375  -49.99  0.380  -62.54  0.385  -56.58  0.390  -37.83  0.395  -15.76  0.400  1.86
 0.405  11.54  0.410  13.66  0.415  10.78  0.420  5.87  0.425  1.24  0.430  -1.95
 0.435  -3.54  0.440  -3.98  0.445  -3.80  0.450  -3.43  0.455  -3.16  0.460  -3.09
 0.465  -3.21  0.470  -3.44  0.475  -3.76  0.480  -4.13  0.485  -4.46  0.490  -4.74
 0.495  -4.99  0.500  -5.30  0.505  -5.66  0.510  -6.05  0.515  -6.44  0.520  -6.73
 0.525  -6.81  0.530  -6.67  0.535  -6.38  0.540  -6.08  0.545  -5.83  0.550  -5.66
 0.555  -5.56  0.560  -5.49  0.565  -5.45  0.570  -5.46  0.575  -5.51  0.580  -5.61
 0.585  -5.73  0.590  -5.81  0.595  -5.84  0.600  -5.83  0.605  -5.82  0.610  -5.84
 0.615  -5.87  0.620  -5.91  0.625  -5.98  0.630  -6.07  0.635  -6.17  0.640  -6.30
 0.645  -6.41  0.650  -6.43  0.655  -6.30  0.660  -6.01  0.665  -5.55  0.670  -4.96
 0.675  -4.37  0.680  -3.94  0.685  -3.79  0.690  -3.94  0.695  -4.33  0.700  -4.83
 0.705  -5.31  0.710  -5.65  0.715  -5.85  0.720  -5.95  0.725  -6.02  0.730  -6.10
 0.735  -6.19  0.740  -6.29  0.745  -6.37  0.750  -6.40  0.755  -6.32  0.760  -6.07
 0.765  -5.64  0.770  -5.08  0.775  -4.47  0.780  -3.84  0.785  -3.19  0.790  -2.58
 0.795  -2.11  0.800  -1.84  0.805  -1.78  0.810  -1.90  0.815  -2.15  0.820  -2.45
 0.825  -2.71  0.830  -2.86  0.835  -2.91  0.840  -2.96  0.845  -3.02  0.850  -3.10
 0.855  -3.20  0.860  -3.36  0.865  -3.52  0.870  -3.63  0.875  -3.64  0.880  -3.52
 0.885  -3.30  0.890  -3.04  0.895  -2.80  0.900  -2.59  0.905  -2.42  0.910  -2.27
 0.915  -0.53 0.920  -0.16 0.925  0.08  0.930  0.13  0.935  -0.05  0.940  -0.41
 0.945  -0.90  0.950  -1.44  0.955  -1.99  0.960  -2.46  0.965  -2.79  0.970  -2.98
 0.975  -3.08  0.980  -3.13  0.985  -3.13  0.990  -3.05  0.995  -2.86  1.000  -2.57
\end{filecontents*}
\StartShownPreambleCommands
\usepackage{pst-plot}
\StopShownPreambleCommands
\begin{document}
\psset{xunit=10cm, yunit=0.01cm}  \readdata{\data}{data3.dat}
\begin{pspicture}(-0.1,-100)(1.1,630.0)
 \psaxes[Dx=0.25,Dy=100,dy=100\psyunit,labelFontSize=\scriptstyle,ticksize=-4pt 0]%
   {->}(0,0)(0,-100)(1.1,520)[{\textsf{t [s]}},0][{\textsf{flow [ml/s]}},90]
 \listplot[linewidth=2pt, linecolor=blue]{\data}
 \rput[lb](0.2,300){%
  \pscustom[yunit=0.04cm,linewidth=1pt]{%
   \listplot[xStart=0.355,xEnd=0.7]{\data}% Start at x>=0.355
   \psline(.7,-2.57)(.7,0)(0.355,0)
   \fill[fillstyle=hlines,fillcolor=gray,hatchwidth=0.4pt,hatchsep=1.5pt]
   \psline[linewidth=0.5pt]{->}(0.7,0)(0.9,0) }}
 \psline[linewidth=.01]{->}(0.55,300)(0.4,20)
 \psline[linewidth=.01]{->}(0.75,290)(0.8,440)
 \rput(.8,470){\footnotesize\sffamily leak volume}
 \psline[linewidth=.01]{->}(0.6,200)(.8,100)
 \rput[l](.8,100){\footnotesize\sffamily closing volume}
\end{pspicture}
\end{document}