Debian Codegraph @

texmf-dist/doc/latex/numericplots/src/examples/basic_UserLinestyles.tex

raw
1 \begin{NumericDataPlot}
2 {\textwidth}{6.5cm}
3
4 \definecolor{MyColor}{cmyk}{0.6 0.21 1.0 0.2}
5 \newpsstyle{MyLine}{linecolor=MyColor, linewidth=2pt, linestyle=dashed,
6 dash=1pt 1pt 4pt 1pt 1pt 3pt, dotstyle=*, showpoints=true, dotsize=5pt}
7 \newpsstyle{MyLineA}{linecolor=blue, linestyle=dotted, dotstyle=asterisk,
8 showpoints=true}
9
10 \setxAxis
11 {xMin=1, xMax=1.6, Dx=0.2}
12 \setyAxis
13 {yMin=50, yMax=150, Dy=25}
14
15 \plotxAxis[NoLabel]{}
16 \plotyAxis[NoLabel]{}
17
18 \listplot[style=MyLine]
19 {\IdentI}
20 \listplot[style=MyLineA]
21 {\IdentII}
22
23 \putSE{\LegendDefinition{
24 \LegLine{style=MyLine} & IdentI\\
25 \LegLine{style=MyLineA} & IdentII
26 }}
27 \end{NumericDataPlot}