summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-24 23:18:04 +0000
committerKarl Berry <karl@freefriends.org>2013-04-24 23:18:04 +0000
commitcb816f38f1e3873a1da8f2b33f2b630ccf8e8fa6 (patch)
treec63b1aab3c2ee6387acd9ccf4e077f81675d2952 /Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex
parenteb6cd746c2e19735a17b67414c8b427fde92ce23 (diff)
numericplots (21apr13)
git-svn-id: svn://tug.org/texlive/trunk@30097 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex')
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex b/Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex
new file mode 100644
index 00000000000..c3cb5e304ef
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/numericplots/src/examples/basic_UseRput.tex
@@ -0,0 +1,29 @@
+\begin{NumericDataPlot}
+ {\textwidth}{6.5cm}
+ \setxAxis
+ {xMin=1, xMax=1.6, Dx=0.2}
+ \setyAxis
+ {yMin=50, yMax=150, Dy=25}
+
+ \plotxAxis{x-axis label}
+ \plotyAxis[NoLabel]{}
+
+ \listplot[style=StdLineStyA]
+ {\IdentI}
+
+ % put text in the middle of the plot
+ \rput{45}(500,500){text}
+ % put a formula in the lower left corner
+ \rput[bl](0,0){$a^2+b^2=c^2$}
+
+ % or put nodes...
+ \NDPput[x=1.2, y=125]{\pnode{A}}
+ \rput(750,900){\Rnode{B}{peak}}
+ % ...and draw a line between them
+ \ncline{<-}{A}{B}
+
+ % or put the legend at a specific position
+ \rput{-45}(750,250){\LegendDefinition{
+ \LegLine{style=StdLineStyA} & IdentI
+ }}
+\end{NumericDataPlot} \ No newline at end of file