Skip to content

main title in plot; outer=TRUE (cut off)

3 messages · AlexC, jim holtman

#
Hello, 

I'm trying to position a plot title "1 a)" in the top left corner of a
graph; i've set outer=TRUE for it to be in the outer margin unfortunately
this is cut off.  Is there a way either to make it so that it is not cut off
or increase the number of margins and then place it in margin below the
outer?

Heres what I have so far
windows(width=7,height=7)
plot(data$x,data$y,ylab="ylab",xlab="xlab",cex=1.5,cex.lab=1.5,cex.axis=1.5,font.axis=3,axes=FALSE)
par(mar=c(5,4,4,2)+0.2)
title(outer=TRUE,adj=0,main = list("1 a)", cex=1.1,col="black", font=2))

thank you for your help in advance



--
View this message in context: http://r.789695.n4.nabble.com/main-title-in-plot-outer-TRUE-cut-off-tp4204006p4204006.html
Sent from the R help mailing list archive at Nabble.com.
#
try moving the 'par' function call before the plot; you need to have
the margins set before you do the 'plot'ting.  Also not reproducible
since 'data' not provided.
On Fri, Dec 16, 2011 at 5:25 AM, AlexC <alexandre.chausson at unil.ch> wrote:

  
    
#
Also try adding 'line = -1' and adjusting for the proper position.

title(outer=TRUE,adj=0,main = list("1 a)", cex=1.1,col="black",
font=2), line = -1)
On Fri, Dec 16, 2011 at 8:44 AM, jim holtman <jholtman at gmail.com> wrote: