similar to: Warnings when plotting after x11() in R 2.14.2

Displaying 20 results from an estimated 100000 matches similar to: "Warnings when plotting after x11() in R 2.14.2"

2007 Aug 08
1
Changing font in boxplots
Hi all, I am very new to R and this might be a simple question but I have looked everywhere you suggest before writing to you. I am trying to change font type from san-serif to a serif (Times New Romans) on all labels and axis of my boxplot. I have used this function in other plots before, e.g.: plot(residuals~lnlifespan, data=mydata, pch=psymb, font=6, xlab="ln reproductive
2006 Jan 17
1
Font size of axis labels
Hi all, In R, it is not possible to set the font size of axis labels directly (AFAIK). Instead, scaling factors for the font chosen by the graphics device can be supplied. It appears that there is no constant font size for axis labels. My impression is that the axis label font size is scaled internally by R depending on the number of labels given for an axis. In addition to the R-internal
2008 Mar 01
1
jpeg and margin text
Hi guys, I use R 2.6.2 and Windows XP. I’ve got the following question: I wrote a lot of text into the margin of a plot. When I use the “jpeg”-function, only a little part of the margin text is displayed in the final jpeg? Any ideas to change it? Source-Code: datenbankdaten<-data.frame(LETTERS[1:20],
2008 Aug 18
2
changing plot font for Times new roman
Dear all, I know that it is a know issue, but I would like to change the type of font on my plot, and I am not sure the rigth way. I would like to use Times New Roman font, but according to the "par()" help, some device allow we choose an family of fonts. I tryed par(family="times") without success. Surfing on R archieve I got an suggestion of use par(font.lab=6), but when I
2009 Jan 28
2
help with plot layout
It takes a lot of sweat to generate a composite plot with R ... sigh. I though I was almost done when I met the umpteenth hurdle. I cannot place a nice title on the 2nd plot (raw signal) on the layout. I do not have control on where either the "main" option of "plot" function, or "title", place the text string which keeps dysplaying chopped from above. I also tried
2006 May 16
2
Changing expression font
I'm trying to label axes using 'expression', but I would also like to change the font to Times New Roman (a requirement of the journal). I'd appreciate any advice. Here's one example of several things that I've tried, including changes to par() parameters 'family', 'font', 'font.axis', and 'font.lab', which are not shown below. x <- 1:10
2006 May 21
3
Unreadable labels
Playing around with examples from MASS4, I found a font problem in the mosaicplot in R-2.3.0. It doesn't happen in other plots. Running this example from MASS4, page 326... library(MASS) caith1 <- as.matrix(caith) names(dimnames(caith1)) <- c("eyes", "hair") mosaicplot(caith1, color = TRUE) ...I get an image as attached. The column and row labels are unreadable. It
2009 Jul 13
2
graph: axis label font
Hi, excuse me for my english, i am using R on windows and i have to do several graphs with axis labels and the axis text thicks has a specified font type, (Arial) and a specified font size. How can i do these? Thank you in advance -- View this message in context: http://www.nabble.com/graph%3A-axis-label-font-tp24463974p24463974.html Sent from the R help mailing list archive at Nabble.com.
2012 Apr 27
1
expression() and font.lab ?
Hi.. I managed to use expression() for superscripting and subscripting values in my axis labels. However, I notice that the font and style that I had passed through par() are ignored. I used : par(font.lab=2, font=2, family="sans") but when I employ expression() for my xlab, the styling given above is completely ignored. I would greatly appreciate it if someone knew of a method of
2010 Feb 04
1
Changing fonts of axis labels in Histogram() function
Dear All I am using the histogram() function to plot two subsets from my data on the same output display, i.e. there are two histogram plots My code is: histogram( ~ Age | Date, layout = c(1, 2), xlab = "Age (years)", strip = FALSE, strip.left = TRUE, col = "black", border = "white", cex.axis = 1.1, family = "serif", cex.lab =
2010 Dec 17
1
Define absolute size of tick and axis labels in basic plots
I am currently submitting final copies of graphics to a journal for publication and they are asking that the fonts used in the plots are times new roman and 10 pt. I set the font size when I call the graphics device and in the par statement to 10. However, when I create a plot, the tick labels and axis labels are not 10 pts. I know I can use the cex commands to scale the fonts, but is there a
2011 Jun 09
1
what is the mistake?? the coding still not function. no result display
# lda.r > # > # Author: Amsha Nahid, Jairus Bowne, Gerard Murray > # Purpose: Perform Linear Discriminant Analysis (LDA) > # > # Input: Data matrix as specified in Data-matrix-format.pdf > # Output: LDA plot > # > # Notes: Missing values (if any) are replaced by the half of the lowest > # value in the entire data matrix. >
2010 Jul 18
5
package "plotrix"
I installed package plotrix because reading its vignette it looks like it can help me solve a "legend" problem. The package instaleed correctly on my Mac OS/X 10.5.8 But I cannot reproduce the examples centered on function "lgendg". > library(plotrix) > plot(0.5,0.5,xlim=c(0,1),ylim=c(0,1),type="n", + main="Test of grouped legend function") >
2012 Feb 09
1
Arial font in eps figures in R
Hi, I am trying to create a graph using Arial font (as required by PLoS One). I have read probably all posts in R-help on this topic, as wells as R-news 2006. The code I have been trying is following: Arial <- Type1Font(family="Arial", metrics=c("ArialMT.afm", "arial-BoldMT.afm", "Arial-ItalicMT.afm",
2013 Jan 12
1
Problem with X11 fonts under Fedora 17.
I previously posted about this problem on the r-help list, but was told that I should switch over to the r-sig-fedora list. So here goes: When trying to do a plot in a certain context I got an error: Error in text.default(2, 6, main, cex = cex) : X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 16 could not be loaded This is reproducible (in my current environment)
2011 Jun 21
1
(no subject)
hello, i already include the error in blue color word. i hope it can help you to understand my question. if not burden you, please give me a guide how to correct the error or maybe you can correct the coding cause error. thank you. > # lda.r > # > # Author: Amsha Nahid, Jairus Bowne, Gerard Murray > # Purpose: Perform Linear Discriminant Analysis (LDA) > # > #
2017 Jul 08
1
[Rd] italic font on cairo devices in R 3.4
Hi Ilia, You may want to have a try of the showtext package (https://github.com/yixuan/showtext). Below is a quick example: library(showtext) showtext.auto() pdf("test.pdf") ## Use the "sans" font family provided by the showtext package ## font == 3 means italic font face plot(1, xlab = "Unicode characters: \u00C0 \u00C6 \u00D8", family = "sans",
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi, When I place a legend on a plot it looks exactly as I intended on the screen. However, almost always, when I export this to postscript file, the legend's text protrudes through the legend's frame (the latter being placed correctly). See the appended example code. I can send the EPS file as well for those that are interested (<4 kb; <200 lines). I found nothing in the FAQS,
2009 Jul 09
2
X-axis labels not displayed when changing ylim
Dear R users, I am encountering a x axis labeling problem on quite basic plots... I use the following code which displays the labels on the x-axis with a 45 degrees angle: p <- plot(myobject1, type="b", col="red",cex=1, lwd=2, axes=FALSE, ann=FALSE, ylim=c(0,70)) title(main="title", font.main=4) axis(side=1, lab=F) text(axTicks(1), par("usr")[3] - 2,
2006 Jan 11
2
Space between axis label and tick labels
I'm writing an publication in two column format and need to shrink some plots. After increasing the axis labels it does not look nice at all. The y-axis label and tick labels almost touch each other and the x-axis tick labels expand into the plot instead of away from it. Is there a better way than "cex" to control the: 1) font size of axis and tick labels 2) font thickness 3)