von esdd » Fr 10. Jul 2015, 15:38
okay perfekt, danke dir! er funktioniert jetzt!
Nur eine letzte Kleinigkeit hierzu noch: Es funktioniert die schriftverkleinerung durch :
x tick label style={font=\small},
y tick label style={font=\small},
x label style={font=\small},
y label style={font=\small},
legend style={font=\small},
jetzt nicht mehr.
[/Quote]
Das gibt jetzt mehrere Möglichkeiten dafür. Wenn ohnehin alle Zahlen so formattiert werden sollen, geht einfach
\documentclass[margin=5pt]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\colorlet{tumblau}{blue}
%\pgfplotsset{compat=1.12}% aktuelle Version
\pgfplotsset{compat=newest}% damit es im Online-Editor läuft
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis x line=bottom,
axis y line=center,
width=10cm, height=5cm,
domain=0:0.04,
ymin=-0.04, ymax=0.04, xmin=0, xmax=0.04,
ylabel={Abweichung $\Delta\ \alpha_i$}, xlabel={$\delta_0\ / \tau_p$},
label style={% erst nach Option axis lines verwenden
at={(ticklabel cs:0.5)},anchor=near ticklabel,sloped},
grid=both,% Haupt- und Nebenlinien
major grid style={gray!50},
x tick label style={font=\tiny},
scaled ticks=false,
/pgf/number format/.cd,% am Ende
fixed,precision=3,use comma
]
\addplot+[name path=D, mark=none, line width = 1, color={tumblau}] {(4301*x^4 -422.5*x^3 -16.4*x^2 +2.358*x -0.03006)};
\end{axis}
\end{tikzpicture}
\end{document}
Kugli93 hat geschrieben:gibt es eine Möglichkeit ein Bild am Ende einer Seite so groß zu machen, dass es den restlichen Platz der Seite maximal ausnutzt?
Das dürfte nur durch manuelles Anpassen machbar sein.
okay perfekt, danke dir! er funktioniert jetzt!
Nur eine letzte Kleinigkeit hierzu noch: Es funktioniert die schriftverkleinerung durch :
x tick label style={font=\small},
y tick label style={font=\small},
x label style={font=\small},
y label style={font=\small},
legend style={font=\small},
jetzt nicht mehr.
[/Quote]
Das gibt jetzt mehrere Möglichkeiten dafür. Wenn ohnehin alle Zahlen so formattiert werden sollen, geht einfach
[code]\documentclass[margin=5pt]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\colorlet{tumblau}{blue}
%\pgfplotsset{compat=1.12}% aktuelle Version
\pgfplotsset{compat=newest}% damit es im Online-Editor läuft
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis x line=bottom,
axis y line=center,
width=10cm, height=5cm,
domain=0:0.04,
ymin=-0.04, ymax=0.04, xmin=0, xmax=0.04,
ylabel={Abweichung $\Delta\ \alpha_i$}, xlabel={$\delta_0\ / \tau_p$},
label style={% erst nach Option axis lines verwenden
at={(ticklabel cs:0.5)},anchor=near ticklabel,sloped},
grid=both,% Haupt- und Nebenlinien
major grid style={gray!50},
x tick label style={font=\tiny},
scaled ticks=false,
/pgf/number format/.cd,% am Ende
fixed,precision=3,use comma
]
\addplot+[name path=D, mark=none, line width = 1, color={tumblau}] {(4301*x^4 -422.5*x^3 -16.4*x^2 +2.358*x -0.03006)};
\end{axis}
\end{tikzpicture}
\end{document}[/code]
[quote="Kugli93"]gibt es eine Möglichkeit ein Bild am Ende einer Seite so groß zu machen, dass es den restlichen Platz der Seite maximal ausnutzt?[/quote]
Das dürfte nur durch manuelles Anpassen machbar sein.