diff options
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.tex | 29 |
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 |