summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/36-00-92.ltx
blob: da6a81057298f8b4a2bef4f1d28379ed08baa7a4 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 36-00-92 on page 806.
%% 
%%  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-add}

\begin{document}
\psset{xunit=0.25mm,yunit=10mm}%
\begin{pspicture}(0,14.5)(400,22)%
  \pspolygon[linecolor=red,linewidth=1pt,
    fillstyle=solid,fillcolor=black!15](0,15)(20,16)(80,20)(150,21)%
    (200,18)(250,16)(310,19)(350,17)(350,15)
  \bgroup
  \def\pshlabel#1{}
  \psset{xunit=0.9856}
  \psaxes[Oy=15,Dx=60,Dy=1,ticksize=4pt,ysubticks=6,xsubticks=10,%
     yAxis=false,tickcolor=red]{-}(0,15)(365.25,22)%
  \multido{\iX=60+60}{6}{\uput[90](\iX,15){\iX}}
  \egroup
  \psaxes[xunit=1,Oy=15,Dx=100,Dy=1,ticksize=-4pt,%
     ysubticks=6,xsubticks=10]{->}(0,15)(360,22)%
\end{pspicture}
\end{document}