Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 4

14 Apr '18, 07:15

Henri's gravatar image

Henri
15.7k133943

Mit der `pgfplots` Bibliothek `groupplots` geht das relativ komfortabel. \documentclass{article} \usepackage{textcomp} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usepgfplotslibrary{groupplots} \begin{document} \begin{figure}[ht] \centering \begin{tikzpicture} \begin{groupplot}[group style={ group name=whatever, group size=2 by 1, horizontal sep=2cm, }, width=6cm,height=6cm, enlargelimits=false, xmode=log, xtick={0.02,0.05,0.1,0.2,0.5,1.0}, ymin=0, ymax=1000, ytick={0,250,500,750,1000}, log ticks with fixed point, xlabel={Zustellung $a_{e}$ in mm}, ylabel={Grathöhe in \textmu m}, ticklabel style={ /pgf/number format/.cd, use comma, 1000 sep={}, } ] \nextgroupplot[ legend entries={Graph1, Graph2}, legend to name=named, ] \addplot [color=red, thick, mark=o] coordinates { (0.02,68) (0.05,416) (0.2,441) (0.5,309) (1.0,351) }; \addplot [color=blue, thick, mark=square] coordinates { (0.02,119) (0.05,389) (0.1,408) (0.2,359) (0.5,268) (1.0,283) }; \node[below right] at (rel axis cs:0,1) {$\gamma = 90^\circ$}; \nextgroupplot \addplot [color=blue, thick, mark=square] coordinates { (0.02,389) (0.05,672) (0.2,829) (0.5,360) (1.0,776) }; \addplot [color=red, thick, mark=o] coordinates { (0.02,252) (0.05,239) (0.1,322) (0.2,519) (0.5,433) (1.0,479) }; \node[below right] at (rel axis cs:0,1) {$\gamma = 60^\circ$}; \end{groupplot} \path (whatever c1r1.north) -- node[shift={(0,.5)}] {Grathöhe $h_{0}$} (whatever c2r1.north); \path (whatever c1r1.south) -- node[shift={(0,-1.7)}] {\ref{named}} (whatever c2r1.south); \end{tikzpicture} \end{figure} \end{document} [![alt text][1]][1] [1]: https://texwelt.de/wissen/upfiles/test_422.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

14 Apr '18, 07:14

Henri's gravatar image

Henri
15.7k133943

Mit der `pgfplots` Bibliothek `groupplots` geht das relativ komfortabel. \documentclass{article} \usepackage{textcomp} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usepgfplotslibrary{groupplots} \begin{document} \begin{figure}[ht] \centering \begin{tikzpicture} \begin{groupplot}[group style={ group name=whatever, group size=2 by 1, y descriptions at=edge left, horizontal sep=2cm, }, width=5cm,height=5cm, width=6cm,height=6cm, enlargelimits=false, xmode=log, xtick={0.02,0.05,0.1,0.2,0.5,1.0}, ymin=0, ymax=1000, ytick={0,250,500,750,1000}, log ticks with fixed point, xlabel={Zustellung $a_{e}$ in mm}, ylabel={Grathöhe in \textmu m}, ticklabel style={ /pgf/number format/.cd, use comma, 1000 sep={}, } ] \nextgroupplot[ legend entries={Graph1, Graph2}, legend to name=named, ] \addplot [color=red, thick, mark=o] coordinates { (0.02,68) (0.05,416) (0.2,441) (0.5,309) (1.0,351) }; \addplot [color=blue, thick, mark=square] coordinates { (0.02,119) (0.05,389) (0.1,408) (0.2,359) (0.5,268) (1.0,283) }; \node[below right] at (rel axis cs:0,1) {$\gamma = 90^\circ$}; \nextgroupplot \addplot [color=blue, thick, mark=square] coordinates { (0.02,389) (0.05,672) (0.2,829) (0.5,360) (1.0,776) }; \addplot [color=red, thick, mark=o] coordinates { (0.02,252) (0.05,239) (0.1,322) (0.2,519) (0.5,433) (1.0,479) }; \node[below right] at (rel axis cs:0,1) {$\gamma = 60^\circ$}; \end{groupplot} \path (whatever c1r1.north) -- node[shift={(0,.5)}] {Grathöhe $h_{0}$} (whatever c2r1.north); \path (whatever c1r1.south) -- node[shift={(0,-1.7)}] {\ref{named}} (whatever c2r1.south); \end{tikzpicture} \end{figure} \end{document} [![alt text][1]][1] [1]: https://texwelt.de/wissen/upfiles/test_421.pnghttps://texwelt.de/wissen/upfiles/test_422.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

13 Apr '18, 13:27

Henri's gravatar image

Henri
15.7k133943

Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

13 Apr '18, 13:23

Henri's gravatar image

Henri
15.7k133943