Re: [R] title of r plots

2015-02-28 Thread William Dunlap
Use help("plotmath") to see all the details - you can use tildes for spaces, asterisks for no spaces. Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Feb 27, 2015 at 8:52 PM, li li wrote: > > Thanks very much. > Also How do add an empty space when using expression()? > When I do the follow

Re: [R] title of r plots

2015-02-27 Thread li li
Thanks very much. Also How do add an empty space when using expression()? When I do the following, it returns an error message. plot(1,1,main=expression(-70*degree*C%+-%10*degree*C/Ambient Condition)) Hanna 2015-02-27 23:03 GMT-05:00 William Dunlap : > plot(1,1,main=expression(-70*degre

Re: [R] title of r plots

2015-02-27 Thread William Dunlap
plot(1,1,main=expression(-70*degree*C%+-%10*degree*C/Ambient)) Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Feb 27, 2015 at 7:27 PM, li li wrote: > Hi all, > I would like to add "-70°C ± 10°C/Ambient" as the title of my plot. > Could anyone give some help on this? > Thanks. >

[R] title of r plots

2015-02-27 Thread li li
Hi all, I would like to add "-70°C ± 10°C/Ambient" as the title of my plot. Could anyone give some help on this? Thanks. Hanna [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see htt

Re: [R] title size problem

2014-06-18 Thread Prof Brian Ripley
On 18/06/2014 08:14, carol white wrote: Hi, When I use any value greater than 2 for cex.main in title, I get title("myTitle", cex.main= 5) Error in title("myTitle", cex.main = 5) : X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 2 at size 60 could not be loaded How to fix it?

[R] title size problem

2014-06-18 Thread carol white
Hi, When I use any value greater than 2 for cex.main in title, I get  title("myTitle", cex.main= 5) Error in title("myTitle", cex.main = 5) :   X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 2 at size 60 could not be loaded How to fix it? Thanks Carol [[alternative HTM

Re: [R] Title for a group of plots?

2011-11-11 Thread Uwe Ligges
Or even simpler (unbelievable!), see ?title: par(mfcol=c(2,2), oma=c(0,0,1,0)) replicate(4, plot(1)) title("Hello World!", outer=TRUE) Best, Uwe Ligges On 10.11.2011 17:13, Sarah Goslee wrote: Try ?mtext for information on how to plot into the outer margin of a group of plots. Sarah On T

Re: [R] Title for a group of plots?

2011-11-10 Thread Muhammad Rahiz
Perhaps something like this? par(oma=c(0,0,2,0)) par(mar=c(1,1,1,1)) par(mfcol=c(3,1)) plot(rnorm(10)) mtext("title") plot(rnorm(10)) plot(rnorm(10)) -- Muhammad Rahiz On Thu, 10 Nov 2011, Kevin Burton wrote: I can get multiple plots on a page like: op <- par(mfcol = c(3, 1)) What I w

Re: [R] Title for a group of plots?

2011-11-10 Thread Sarah Goslee
Try ?mtext for information on how to plot into the outer margin of a group of plots. Sarah On Thu, Nov 10, 2011 at 11:07 AM, Kevin Burton wrote: > I can get multiple plots on a page like: > > > > op <- par(mfcol = c(3, 1)) > > > > What I was wondering is if there is a way to have a title for the

Re: [R] Title for a group of plots?

2011-11-10 Thread Bert Gunter
?mtext (Note the "outer argument) -- Bert On Thu, Nov 10, 2011 at 8:07 AM, Kevin Burton wrote: > I can get multiple plots on a page like: > > > > op <- par(mfcol = c(3, 1)) > > > > What I was wondering is if there is a way to have a title for the whole > page? I can specify the title for each

[R] Title for a group of plots?

2011-11-10 Thread Kevin Burton
I can get multiple plots on a page like: op <- par(mfcol = c(3, 1)) What I was wondering is if there is a way to have a title for the whole page? I can specify the title for each individual plot like: plot(xxx, main=".") But I would like a 'title' for the group of plots. Is this pos

Re: [R] Title

2011-02-08 Thread David Scott
On 9/02/2011 6:25 a.m., David Winsemius wrote: On Feb 8, 2011, at 11:43 AM, kateF87 wrote: I have a relatively simple question. I am trying to post a title to a plot using a symbol and multiple lines. Right now I have: title(main = c('Hazard Ratio for women with score', expression('>='), 'A

Re: [R] Title

2011-02-08 Thread David Winsemius
On Feb 8, 2011, at 12:25 PM, David Winsemius wrote: On Feb 8, 2011, at 11:43 AM, kateF87 wrote: I have a relatively simple question. I am trying to post a title to a plot using a symbol and multiple lines. Right now I have: title(main = c('Hazard Ratio for women with score', expression

Re: [R] Title

2011-02-08 Thread David Winsemius
On Feb 8, 2011, at 11:43 AM, kateF87 wrote: I have a relatively simple question. I am trying to post a title to a plot using a symbol and multiple lines. Right now I have: title(main = c('Hazard Ratio for women with score', expression('>='), 'Across /nQuintiles of Activity') I am going

[R] Title

2011-02-08 Thread kateF87
I have a relatively simple question. I am trying to post a title to a plot using a symbol and multiple lines. Right now I have: title(main = c('Hazard Ratio for women with score', expression('>='), 'Across /nQuintiles of Activity') Thanks in advance -- View this message in context: http://r.

Re: [R] Title for y-axis on right side

2010-12-19 Thread Jim Lemon
On 12/17/2010 10:41 PM, phils_mu...@arcor.de wrote: Hi, I want to have a title for the y-axis on the right side of the plot. I know how to do it on the left side: title(ylab="Title for y-axis") But how can I have the title on the right side? Hi Phil, You probably want to add some margin on

Re: [R] Title for y-axis on right side

2010-12-17 Thread 1Rnwb
mtext(4, ylab="your title", font) -- View this message in context: http://r.789695.n4.nabble.com/Title-for-y-axis-on-right-side-tp3092531p3092631.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https:

Re: [R] Title for y-axis on right side

2010-12-17 Thread Andrew Miles
Take a look at mtext() which offers options for writing text in any margin of the table. Andrew Miles On Dec 17, 2010, at 6:41 AM, phils_mu...@arcor.de wrote: Hi, I want to have a title for the y-axis on the right side of the plot. I know how to do it on the left side: title(ylab="Title f

[R] Title for y-axis on right side

2010-12-17 Thread phils_muell
Hi, I want to have a title for the y-axis on the right side of the plot. I know how to do it on the left side: > title(ylab="Title for y-axis") But how can I have the title on the right side? Greets, Phil __ R-help@r-project.org mailing list https://

Re: [R] title and axis labels placement with layout

2010-10-04 Thread Greg Snow
...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Daryl Morris > Sent: Monday, October 04, 2010 12:34 PM > To: r-help@r-project.org > Subject: [R] title and axis labels placement with l

[R] title and axis labels placement with layout

2010-10-04 Thread Daryl Morris
Hello, I'm writing a set of functions which we will use with a bunch of different datasets. The functions create a set of graphics pages, with each page split into an upper panel with plots and a lower panel with tables. The plots part might have one plot, or might have multiple. I'm usin

Re: [R] Title splitting function

2010-01-22 Thread Ista Zahn
Hi Michael, It looks like you're having fun, I hope I don't spoil it for you: title <- "some variety of words that are descriptive" paste(strwrap(title, width=16), collapse="\n") -Ista On Fri, Jan 22, 2010 at 9:07 PM, Michael Pearmain wrote: > Hi All, > > I'm trying to write a function to autom

[R] Title splitting function

2010-01-22 Thread Michael Pearmain
Hi All, I'm trying to write a function to automatically split long strings so they will appear nicely in a chart i'm trying to create, Say i have a string title <- "some variety of words that are descriptive" In this instance i want to place carriage return where there is a space just prior to

Re: [R] title problem

2009-11-21 Thread Peter Ehlers
David Winsemius wrote: On Nov 21, 2009, at 1:19 PM, Gary wrote: I think Gabor suggestion works. Adding "line=" option in title makes it work. Here is a little modification of what Gabor suggested, Carol you may try this code: par(oma=c(3,1,4,1)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7))

Re: [R] title problem

2009-11-21 Thread Gurmeet
Hi Carol, Try this > par(oma=c(2,2,2,2)) > par(mfrow = c(1,2)) > plot(c(1,2,3), c(9,8,7)) > plot(c(1,2,3), c(9,8,7)) > title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) par(oma=c(2,2,2,2)) -- can be used to define outline of the plot. Arguments here are

Re: [R] title problem

2009-11-21 Thread David Winsemius
itle",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: From: Gary Subject: Re: [R] title problem To: "David Winsemius" Cc: "carol white" , "r-help list" > Date: Saturday, November 21, 2009, 9:39 AM You are right David/Carol. It seems ou

Re: [R] title problem

2009-11-21 Thread Gary
t one subtitle for all plots below the main title. >>> subtitle should work but if doesn't at the worst case I could do as follows: >>> >>> title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) >>> >>> --- On Sat, 11/21/09, Ga

Re: [R] title problem

2009-11-21 Thread David Winsemius
work but if doesn't at the worst case I could do as follows: title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: From: Gary Subject: Re: [R] title problem To: "David Winsemius" Cc: "carol white" , "r-h

Re: [R] title problem

2009-11-21 Thread Gabor Grothendieck
btitle for all plots below the main title. > subtitle should work but if doesn't at the worst case I could do as follows: > > title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) > > --- On Sat, 11/21/09, Gary wrote: > >> From: Gary &g

Re: [R] title problem

2009-11-21 Thread carol white
Thanks Gary. No I want one subtitle for all plots below the main title. subtitle should work but if doesn't at the worst case I could do as follows: title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: > From: Gary > S

Re: [R] title problem

2009-11-21 Thread Gary
You are right David/Carol. It seems outer=T does not work for "Sub title". I'm not sure what Carol is looking for, but in case you need separate sub titles for each graph, then you may want to use more than one title statement. Like: par(oma=c(2,2,2,2)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7))

Re: [R] title problem

2009-11-21 Thread carol white
subtitle still doesn't get displayed --- On Sat, 11/21/09, Gurmeet wrote: > From: Gurmeet > Subject: Re: [R] title problem > To: "carol white" > Cc: r-help@r-project.org > Date: Saturday, November 21, 2009, 8:30 AM > Hi Carol, > Try this > >  par(oma=

Re: [R] title problem

2009-11-21 Thread David Winsemius
On Nov 21, 2009, at 11:39 AM, Gary wrote: Hi Carol, Try this par(oma=c(2,2,2,2)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7)) plot(c(1,2,3), c(9,8,7)) title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) I'm curious about what you are seeing with that s

Re: [R] title problem

2009-11-21 Thread Gary
Hi Carol, Try this > par(oma=c(2,2,2,2)) > par(mfrow = c(1,2)) > plot(c(1,2,3), c(9,8,7)) > plot(c(1,2,3), c(9,8,7)) > title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) par(oma=c(2,2,2,2)) -- can be used to define outline of the plot. Arguments here are

[R] title problem

2009-11-21 Thread carol white
Hi, I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle doesn't get displayed. Here is the code: par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7)) plot(c(1,2,3)

Re: [R] title: words in different colors?

2009-01-22 Thread Barry Rowlingson
Here's my version of the technicolor title function: multiTitle <- function(...){ ### ### multi-coloured title ### ### examples: ### multiTitle(color="red","Traffic", ### color="orange"," light ", ### color="green","signal") ### ### - note triple backslashes needed for emb

Re: [R] title: words in different colors?

2009-01-21 Thread Duncan Murdoch
Michael Friendly wrote: In ?title I see the plot(cars, main = "") title(main = list("Stopping Distance versus Speed", cex=1.5, col="red", font=3)) I can't seem to generalize this to use several colors in a single title. What I'd like is in latex-ish \red{Hair color} \black{ and } \blue{Ey

Re: [R] title: words in different colors?

2009-01-21 Thread Barry Rowlingson
2009/1/21 Michael Friendly : > In ?title I see the > > plot(cars, main = "") > title(main = list("Stopping Distance versus Speed", cex=1.5, col="red", > font=3)) > > I can't seem to generalize this to use several colors in a single title. Solution from http://tolstoy.newcastle.edu.au/R/e2/help/07

[R] title: words in different colors?

2009-01-21 Thread Michael Friendly
In ?title I see the plot(cars, main = "") title(main = list("Stopping Distance versus Speed", cex=1.5, col="red", font=3)) I can't seem to generalize this to use several colors in a single title. What I'd like is in latex-ish \red{Hair color} \black{ and } \blue{Eye color} to serve also as

Re: [R] title second y-axis in lattice plot

2008-11-25 Thread Robbie Heremans
Thanks Deepayan, The following code solves the problem until 'ylab.right' will be implemented. Robbie library(lattice) library(grid) g1<-textGrob("axis title at right", x = unit(0.5, "npc"), y = unit(0.5, "npc"), just = "centre", hjust = NULL, vjust = NULL, rot = 270, check

Re: [R] title second y-axis in lattice plot

2008-11-25 Thread Deepayan Sarkar
On 11/25/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dear R-users, > > After adding the secondary y-axis at the right side of a lattice xyplot > (cfr. Lattice: Multivariate Data Visualization with R - figures 8.4 and 8.6, > from http://lmdvr.r-forge.r-project.org/figures/figures.html), I

[R] title second y-axis in lattice plot

2008-11-25 Thread robbie . heremans
Dear R-users, After adding the secondary y-axis at the right side of a lattice xyplot (cfr. Lattice: Multivariate Data Visualization with R - figures 8.4 and 8.6, from http://lmdvr.r-forge.r-project.org/figures/figures.html), I'm trying to add a title to that second y-axis (which has to be dif

Re: [R] Title for graph with multiple plots

2008-07-19 Thread Tolga Uzuner
Dear Ted and Jim, Many thanks. Tolga (Ted Harding) wrote: On 19-Jul-08 10:29:43, Tolga Uzuner wrote: Dear R Users, I am attempting to place a title to a graph with multiple plots that should go across the top of all the graphs, and not just one of them. I am using mfrow in par to plot. Can

Re: [R] Title for graph with multiple plots

2008-07-19 Thread jim holtman
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/99281.html RSiteSearch("overall title") On Sat, Jul 19, 2008 at 6:29 AM, Tolga Uzuner <[EMAIL PROTECTED]> wrote: > Dear R Users, > I am attempting to place a title to a graph with multiple plots that should > go across the top of all the graphs, and

Re: [R] Title for graph with multiple plots

2008-07-19 Thread Ted Harding
On 19-Jul-08 10:29:43, Tolga Uzuner wrote: > Dear R Users, > I am attempting to place a title to a graph with multiple plots that > should go across the top of all the graphs, and not just one of them. I > am using mfrow in par to plot. Can anyone suggest if and how this could > be done ? > Thanks

[R] Title for graph with multiple plots

2008-07-19 Thread Tolga Uzuner
Dear R Users, I am attempting to place a title to a graph with multiple plots that should go across the top of all the graphs, and not just one of them. I am using mfrow in par to plot. Can anyone suggest if and how this could be done ? Thanks in advance, Tolga ___

Re: [R] Title and labelos in ggplot2

2007-09-12 Thread Ido M. Tamir
x and y axis labels changing in ggplo2: p <- ggplot(d03, aes(x=cs,y=taille)) + geom_hline(data=temp.df) + geom_boxplot() + facet_grid(.~sexe) I had a similar question not too long ago. Try: p + scale_x_discrete("new label x") + scale_y_continuous("new label y") best wishes ido _

[R] Title and labelos in ggplot2

2007-09-12 Thread Julien Barnier
Hi, I am new to the ggplot2 package and I am stuck with something which must be quite basic : I can't manage to change the x and y axis labels when I don't use the qplot command. I manged to change the main title by modifying the title element of the ggplot object, but I can't find the elements fo