summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/36-00-12.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/PSTricks_en/36-00-12.ltx')
-rw-r--r--info/examples/PSTricks_en/36-00-12.ltx41
1 files changed, 41 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/36-00-12.ltx b/info/examples/PSTricks_en/36-00-12.ltx
new file mode 100644
index 0000000000..c7d953fcd5
--- /dev/null
+++ b/info/examples/PSTricks_en/36-00-12.ltx
@@ -0,0 +1,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}