summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/13-02-1.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/PSTricks_en/13-02-1.ltx')
-rw-r--r--info/examples/PSTricks_en/13-02-1.ltx44
1 files changed, 44 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/13-02-1.ltx b/info/examples/PSTricks_en/13-02-1.ltx
new file mode 100644
index 0000000000..4657a229ef
--- /dev/null
+++ b/info/examples/PSTricks_en/13-02-1.ltx
@@ -0,0 +1,44 @@
+%%
+%% A DANTE-Edition example
+%%
+%% Example 13-02-1 on page 149.
+%%
+%% 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,pst-node,graphicx}
+\newsavebox\IBox
+\sbox\IBox{\includegraphics[scale=0.75]{figures/overlay50}}
+
+\begin{document}
+\begin{pspicture}(-2,0)(1.1\wd\IBox,1.4\ht\IBox)
+ \rput[lb](0,0){\usebox\IBox}
+ \psgrid[gridcolor=black!50,subgridcolor=black!15]
+ \pnode(-0.5,0){A}\pnode(-0.5,\ht\IBox){B} \ncline{->}{A}{B}
+ \ncput*[nrot=:U]{molecular weight}
+ \pnode(0,1.05\ht\IBox){A}\pnode(\wd\IBox,1.05\ht\IBox){B}
+ \rput*[rC](-1,.3\ht\IBox){\small$13$db}
+ \rput*[rC](-1,.65\ht\IBox){\small$38$db}
+ \rput*[rC](-1,.8\ht\IBox){\small$76$db}
+ \ncline{->}{A}{B}
+ \ncput*{\small molecular weight in the complex}
+ \rput*[rC]{-90}(0.1\wd\IBox,1.1\ht\IBox){\small$-100$kDa}
+ \rput*[rC]{-90}(0.8\wd\IBox,1.1\ht\IBox){\small$-800$kDa}
+ \psline[linewidth=0.1pt,arrowscale=2]{|-|}(4,1)(5,1)
+ \uput[-90](4.5,1){\small 1$\mu$m}
+\end{pspicture}
+\end{document}