|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Sans Serif-Font in Tikz-DiagramsHello,
after two days of searching, reading and cursing I am hoping, that this forum can help me. I want to use a sans-serif font in a tikz-picture but i can't change the standard-font of the y tick labels. What can I do? Here the diagram so far (without the many trial-error-tags). \documentclass[12pt, DIV9, oneside, openany, noonelinecaption]{scrbook} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{ae,aecompl} \usepackage{palatino} \usepackage{threeparttable} \usepackage{pgfplots}%zum Erstellen von Diagrammen mit pgf und TikZ \begin{document} Bla Bbla \pgfplotsset{every axis legend/.append style={ at={(0.5,0.01)}, anchor=south}, font=\small} \begin{tikzpicture}[font=\sf\small] \begin{axis} [ xlabel=RF, ylabel=UZ, ymin=1.5, ymax=5.5, enlargelimits=false, xtick=\empty, x=2.5cm, xmin=0.5, xmax=2.5, extra x ticks={1,2}, extra x tick labels={T1, T2}, tickpos=left ] \addplot+[sharp plot, dotted, mark=*] coordinates {(1,3.86) (2,2.14)}; \addplot+[sharp plot, color= red, mark=triangle] coordinates {(1,2.60) (2,5.10)}; \legend{\tiny{s-h}, \tiny{h-s}} \end{axis} \end{tikzpicture} \end{document} Thanx in advance. Uwe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
|
| Free Forum Powered by Nabble | Forum Help |