| 1 |
\begin{NumericDataPlot} |
| 2 |
{\textwidth}{6.5cm} |
| 3 |
\setxAxis |
| 4 |
{xMin=1, xMax=2, Dx=0.2} |
| 5 |
\setyAxis |
| 6 |
{yMin=50, yMax=150, Dy=25} |
| 7 |
|
| 8 |
\plotxAxis[LabelPos=1, LabelRefPt=tr]% |
| 9 |
{x-axis label} |
| 10 |
\plotyAxis[NoLabel]{} |
| 11 |
|
| 12 |
\listplot[style=StdLineStyA] |
| 13 |
{\IdentI} |
| 14 |
|
| 15 |
% put some stuff somewhere |
| 16 |
\NDPput[x=1.2, y=75, RefPoint=br]{text} |
| 17 |
\NDPput[x=1.2, y=100, Rot=45]{$a^2+b^2$} |
| 18 |
|
| 19 |
% or put nodes... |
| 20 |
\NDPput[x=1.6, y=100]{\pnode{A}} |
| 21 |
\NDPput[x=1.8, y=150]{\pnode{B}} |
| 22 |
% ...and draw a line between them |
| 23 |
\ncline{A}{B} |
| 24 |
|
| 25 |
% or put the legend at a specific position |
| 26 |
\NDPput[x=1.8, y=75]{\LegendDefinition{ |
| 27 |
\LegLine{style=StdLineStyA} & IdentI |
| 28 |
}} |
| 29 |
\end{NumericDataPlot} |