pgfplots output for labels is only capital letters, I would like to make the axis labels case sensitive but can't seems to find a way todo this.

\documentclass[12pt,            %Schriftgröße
a4paper,                        %Papier Format
fleqn,                          %Formeln werden links angeordnet anstatt zentriert
titlepage,                      %Nach der Titelseite beginnt die Nummerierung
openright,                      %Neue Kapitel nur auf neuer rechter Seite
bibliography=totoc,                     %Literaturverzeichnis kommt auch ins Inhaltsverzeichnis
headsepline,                    %Linie nach Kopfzeile
BCOR14mm,                       %Kleberand
]{scrbook}                      %Dokumenttyp


tick label style = {font=\sansmath\sffamily},
every axis label/.append style={font=\sffamily},


ylabel=\textsc{rel. Genauigkeit, $\%$},
y tick label style={
    /pgf/number format/.cd,
    fixed zerofill,
y label style={at={(axis description cs:-0.1,.5)},anchor=south},
axis y line*=left,

\addplot[red, mark=x]
plot coordinates{
(16, 97.44952508)
(32, 99.35867759)
(64, 99.83943364)
(128, 99.95983634)
(256, 99.98995479)
(512, 99.99748469)
(1024, 99.99937153)
(4096, 99.99995865)
(8192, 99.99998941)
}; \label{plot_one}



axis y line*=right,
axis x line=none,
ylabel=\textsc{rel. Rechenzeit, $\%$},
legend pos=south east],


\addplot[blue, mark=*]
plot coordinates {
(16, 9.768113124)
(32, 14.62291868)
(64, 26.85646707)
(128, 50.53754651)
(256, 100)
(512, 202.9558847)
(1024, 411.7422236)
(2048, 848.1135016)
(4096, 1830.262596)
(8192, 4066.282226)
}; \addlegendentry{Rechenzeit}



This is the plot:

enter image description here

Help is very much appreciated!

  • That's probably the property of your font that it types in all capitals. Pgfplots doesn't bother with these. – percusse Jul 15 '15 at 10:30

I might say "you get what you've asked for". All your axis labels are set with \textsc, which means that you get small caps for lower case letters. These are shaped like upper case letters, but have the height of lower case letters. As such, if you want normal lower case letters, use just Auflösung instead of \textsc{Auflösung}, and similar for the other axis labels.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.