| 1 |
\begin{NumericDataPlot} |
| 2 |
{\textwidth}{6.5cm} |
| 3 |
\setxAxis |
| 4 |
{xMin=1, xMax=1.6, Dx=0.2} |
| 5 |
\setyAxis |
| 6 |
{yMin=50, yMax=150, Dy=25} |
| 7 |
|
| 8 |
\plotxAxis{x-axis label} |
| 9 |
\plotyAxis[NoLabel]{} |
| 10 |
|
| 11 |
\listplot[style=StdLineStyA] |
| 12 |
{\IdentI} |
| 13 |
|
| 14 |
% put text in the middle of the plot |
| 15 |
\rput{45}(500,500){text} |
| 16 |
% put a formula in the lower left corner |
| 17 |
\rput[bl](0,0){$a^2+b^2=c^2$} |
| 18 |
|
| 19 |
% or put nodes... |
| 20 |
\NDPput[x=1.2, y=125]{\pnode{A}} |
| 21 |
\rput(750,900){\Rnode{B}{peak}} |
| 22 |
% ...and draw a line between them |
| 23 |
\ncline{<-}{A}{B} |
| 24 |
|
| 25 |
% or put the legend at a specific position |
| 26 |
\rput{-45}(750,250){\LegendDefinition{ |
| 27 |
\LegLine{style=StdLineStyA} & IdentI |
| 28 |
}} |
| 29 |
\end{NumericDataPlot} |