Hi Jan Marius, using the tikzDevice-package, nearly everything is possible (at least, all what can be done in LaTeX).
cheers Am 19.09.2011 11:58, schrieb Hofert Jan Marius: > Dear expeRts, > > I it possible to have serif labels in the following plot? > > x <- 1:10 > y <- x > plot(x, y, type="b", xlab=expression(x[1]), ylab=expression(x[2])) > > I know that one can use pdf(, family="serif"), but then also the axis tick > marks > are printed in serif font. Apart from the fact that it may not look nice, I'm > just interested if one can have serif axis labels but everything else in sans > serif > (default). > > Cheers, > > Marius > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Eik Vettorazzi Institut für Medizinische Biometrie und Epidemiologie Universitätsklinikum Hamburg-Eppendorf Martinistr. 52 20246 Hamburg T ++49/40/7410-58243 F ++49/40/7410-57790 -- Pflichtangaben gemäß Gesetz über elektronische Handelsregister und Genossenschaftsregister sowie das Unternehmensregister (EHUG): Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg Vorstandsmitglieder: Prof. Dr. Jörg F. Debatin (Vorsitzender), Dr. Alexander Kirstein, Joachim Prölß, Prof. Dr. Dr. Uwe Koch-Gromus ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.