[R] large fonts on plots
Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it.The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply to: [EMAIL PROTECTED] Thanks, Piet -- Piet van Remortel PhD Student [EMAIL PROTECTED] http://como.vub.ac.be/Members/Piet.htm __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
Piet van Remortel wrote: I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it.The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. Does this help? par(mar=c(10,10,10,10), cex.axis=2, cex.lab=2, cex.main=4) plot(runif(20)) title(Main Title) see ?par Chuck Cleland -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
On Wed, 11 Feb 2004 13:30:22 +0100, Piet van Remortel [EMAIL PROTECTED] wrote : Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it.The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply to: [EMAIL PROTECTED] You probably want to use the cex arguments, e.g. plot(rnorm(10),rnorm(10), cex.axis=1.5, cex.lab=1.5, cex=1.5) You might need to make the figure margins bigger to have space for the big labels. ?par documents all of these options (except cex, which is documented in ?plot.default, I think). Duncan Murdoch __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
see ?par Mahbub. --- Piet van Remortel [EMAIL PROTECTED] wrote: Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it. The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply to: [EMAIL PROTECTED] Thanks, Piet -- Piet van Remortel PhD Student [EMAIL PROTECTED] http://como.vub.ac.be/Members/Piet.htm __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
Hallo On 11 Feb 2004 at 13:30, Piet van Remortel wrote: Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. using cex.main=some.number.greater.than.1 in title(...) will enlarge fonts in main title. follow ?par, ?title, ?axis However I do not know if it works when inserting figures to LaTeX text. Cheers Petr I seem to be unable to figure out how to do it.The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply to: [EMAIL PROTECTED] Thanks, Piet -- Piet van Remortel PhD Student [EMAIL PROTECTED] http://como.vub.ac.be/Members/Piet.htm __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Petr Pikal [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
On Wed, 11 Feb 2004, Petr Pikal wrote: On 11 Feb 2004 at 13:30, Piet van Remortel wrote: Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. using cex.main=some.number.greater.than.1 in title(...) will enlarge fonts in main title. From my experience you will have to enlarge also the plot margins, otherwise label/s might be clipped out. See par() for margin handling. However I do not know if it works when inserting figures to LaTeX text. It works fine. Cheers, Itay Furman -- [EMAIL PROTECTED] Fred Hutchinson Cancer Research Center __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] large fonts on plots
On 11 Feb 2004 at 13:30, Piet van Remortel wrote: Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. Nobody seems to have mentioned another way of achieving this, which is to scale the original plot to suit the intended final size in the document. E.g. if you use: postscript(file=plot1.ps, width=4, height=4) then the 4x4 figure will 'automatically' have relatively larger text and plot symbols. This works well with x11() which is subsequently printed, and pdf() also. HTH, Ray Brownrigg __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html