Tikz-Achse skalieren
Verfasst: Di 12. Sep 2017, 16:26
Hallo zusammen,
ich habe einen tikz-Plot erstellt mit einer logarithmischen y-Achse. Jetzt möchte ich gerne noch die x-Achse etwas breiter machen, da die Knoten so eng beieinander liegen und ich nach rechts noch Platz habe.
Ich habe bereits
und
ausprobiert, aber es ändert sich überhaupt nichts. Hat jemand eine Idee?
Dankeschön!!
Hier kommt ein Minimalbeispiel:
Viele Grüße
Gästin
ich habe einen tikz-Plot erstellt mit einer logarithmischen y-Achse. Jetzt möchte ich gerne noch die x-Achse etwas breiter machen, da die Knoten so eng beieinander liegen und ich nach rechts noch Platz habe.
Ich habe bereits
\begin{axis}[ymode = log, x axis = {length=...}]
\begin{axis}[x axis ={unit length=1cm per 10 units}]
Dankeschön!!
Hier kommt ein Minimalbeispiel:
\documentclass{beamer} \usepackage{multimedia} \usepackage{hyperref} \usepackage{selinput} \usepackage{enumitem} \usepackage{subfigure} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{mathtools} \usepackage[]{tabularx} \usepackage[]{longtable} \usepackage{eulervm} \usepackage{pgfplots} \pgfplotsset{compat=1.5, legend style={anchor=north,legend columns=1,cells={anchor=west},font=\footnotesize,rounded corners=2pt}} \usepackage{tikz} \usetikzlibrary{plotmarks} \usetikzlibrary{calc} \usetikzlibrary{decorations,arrows,positioning} \begin{document} \begin{frame} \begin{tikzpicture} \begin{axis}[ymode = log] \addplot [color=red, draw=none, mark=square*, mark options={solid, red}] table[row sep=crcr]{% 1 0.0153064808715547\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}] table[row sep=crcr]{% 2 0.0153064815934951\\ 3 0.0141541784007172\\ 4 0.0130628583816466\\ 5 0.00179566918907462\\ 6 0.000182037681866787\\ 7 0.000129650562532601\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 8 0.000128719139355796\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 9 0.000128719147721581\\ 10 0.000128267463574659\\ 11 0.000127808827096589\\ 12 0.000102376347539497\\ 13 8.53380314112468e-05\\ 14 8.86176085976121e-05\\ 15 8.33028771557798e-05\\ 16 4.6207309713206e-05\\ 17 4.92799629448045e-05\\ 18 0.000102830220698545\\ 19 0.000148194611965228\\ 20 0.0001752031825355\\ 21 0.000127322469862855\\ 22 5.13929984574008e-05\\ 23 3.94631611753495e-05\\ 24 4.1908833663643e-05\\ 25 4.72473858181915e-05\\ 26 5.87923062659916e-05\\ 27 8.09048485629197e-05\\ 28 0.000114521903130387\\ 29 0.000149578029583634\\ 30 0.000151844387685662\\ 31 9.26757287997353e-05\\ 32 2.50191562794922e-05\\ 33 3.29054340226484e-06\\ 34 2.65316838494785e-06\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 35 4.86739238780966e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 36 4.86739406441589e-06\\ 37 4.58244375474231e-06\\ 38 4.31900985036556e-06\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 39 4.32182923680717e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 40 4.32183090801945e-06\\ 41 4.08757227255868e-06\\ 42 3.87207859525791e-06\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 43 3.87449806541974e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 44 3.87449972488589e-06\\ 45 3.68346129418777e-06\\ 46 3.50892425132189e-06\\ 47 3.89917485879706e-06\\ 48 6.43362193128552e-06\\ 49 8.36013616862063e-06\\ 50 7.74217965085196e-06\\ 51 3.09688068559461e-06\\ 52 3.32112293249966e-06\\ 53 8.61166956704949e-06\\ 54 1.44269854037593e-05\\ 55 2.43248539739147e-05\\ 56 3.48266152180106e-05\\ 57 3.92771088598299e-05\\ 58 2.83697975591174e-05\\ 59 1.2761118728882e-05\\ 60 9.17049658218533e-06\\ 61 9.34744948258913e-06\\ 62 9.81837432674912e-06\\ 63 1.01910424195546e-05\\ 64 1.31149485807319e-05\\ 65 1.59670758186612e-05\\ 66 1.63490172374526e-05\\ 67 1.04363647550067e-05\\ 68 2.91762913292328e-06\\ 69 8.22711528700106e-07\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 70 2.32080332410986e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 71 2.32080302550378e-06\\ 72 2.19965617644177e-06\\ 73 2.06419210319585e-06\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 74 2.03865684637823e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 75 2.03865664597137e-06\\ 76 1.94002312559273e-06\\ 77 1.82738011099367e-06\\ }; \addplot [color=red, draw=none, mark=asterisk, mark options={solid, red}, forget plot] table[row sep=crcr]{% 78 1.8039025199727e-06\\ }; \addplot [color=blue, draw=none, mark=asterisk, mark options={solid, blue}, forget plot] table[row sep=crcr]{% 79 1.80390227807005e-06\\ 80 1.72571094374267e-06\\ }; \end{axis}% \end{tikzpicture}% \end{frame} \end{document}
Gästin