Hi Jan Marius, I had a lot of positive experience with tkiz, but yes, handling large datasets can push it to the limits.
Anyway, in your case, isn't it as simple as plot(x, y, type="b",xlab="",ylab="") title(xlab=expression(x[1]), ylab=expression(x[2]),family="serif") cheers Am 19.09.2011 14:51, schrieb Hofert Jan Marius: > Dear Eik, > > although possible in this case, tikzDevice is certainly not a general > solution to all kinds of problems :-) I used it for quite some time before I > gave up: I had a simple bar plot, the bars being black. This already caused > errors like "TeX capacity exceeded" ... and I obtained these a lot. In fact, > enlarging the TeX capacity (not trivial but possible) did not solve these > issues. That's why I gave up on this package [although, clearly, the idea of > full TeX support is totally appealing -- that's why I looked at the package > in the first place]. > > Cheers, > > Marius > > On 2011-09-19, at 14:38 , Eik Vettorazzi wrote: > >> 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 >> > > ETH Zurich > Dr. Marius Hofert > RiskLab, Department of Mathematics > HG E 65.2 > Rämistrasse 101 > 8092 Zurich > Switzerland > > Phone +41 44 632 2423 > marius.hof...@math.ethz.ch > http://www.math.ethz.ch/~hofertj > -- Eik Vettorazzi Department of Medical Biometry and Epidemiology University Medical Center 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.