summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/36-00-12.ltx
blob: c7d953fcd51eeb55da354ca6bb0b54d2df3a4af5 (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-12 on page 773.
%% 
%%  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{pst-plot}

\begin{document}
\def\pshlabel#1{\footnotesize$#1$}
\begin{pspicture}(0,-0.75)(10,1)
\psaxes[labelsep=2pt,yAxis=false,
  labelsep=-10pt,ticksize=0 10mm,subticks=10,subticksize=0.75,
  tickcolor=red,subtickcolor=blue,tickwidth=1pt,
  subtickwidth=0.5pt](10.01,0)
\end{pspicture}

\begin{pspicture}(0,-1)(10,0.75)
\psaxes[labelsep=2pt,yAxis=false,labelFontSize=\footnotesize,
  labelsep=5pt,ticksize=0 -10mm,subticks=10,subticksize=0.75,
  tickcolor=red,subtickcolor=blue,tickwidth=1pt,
  subtickwidth=0.5pt,Ox=5](5,0)(5,0)(10.01,0)
\end{pspicture}

\end{document}