Re: [R] shifting down ylab in a plot
On Wed, 24-Nov-2010 at 09:28AM -0800, statquant2 wrote: | | thanks Phillip for the trick. | However I am a bit surprised that something as trivial as this is not | accessible via par options... There are lots of par options already and lots more could be added. However, it would become overwhelmingly huge. I think it's best to leave it as it is. | If somebody know how to do it with par ... or anything from graphics would | be nice to know Whenever I make a publication graphic, I nearly always use mtext to get the label exactly appropriate (along with ylab = ). That works very well IMHO. | | Cheers | -- | View this message in context: http://r.789695.n4.nabble.com/shifting-down-ylab-in-a-plot-tp3057071p3057766.html | Sent from the R help mailing list archive at Nabble.com. | | __ | 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. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ 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.
Re: [R] shifting down ylab in a plot
I found it is mgp -- View this message in context: http://r.789695.n4.nabble.com/shifting-down-ylab-in-a-plot-tp3057071p3057075.html Sent from the R help mailing list archive at Nabble.com. __ 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.
Re: [R] shifting down ylab in a plot
No in fact this is not working as all main,xlab,ylab are shited if mgp is changed Any help ? -- View this message in context: http://r.789695.n4.nabble.com/shifting-down-ylab-in-a-plot-tp3057071p3057081.html Sent from the R help mailing list archive at Nabble.com. __ 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.
Re: [R] shifting down ylab in a plot
I am trying to shift down the ylab of my plot but can't find how to do it. I tried to tune mar but it enable more room for the labels to be displayed but it does not move to ylab as I would like. Is there a way with par to shift down my ylab ?? There may be a simpler/more elegant way to do it, but this does what you asked for: # plot data omitting the ylab plot(1:10,1:10, ylab='') # add the ylab myself using flushleft (adj=0.0) mtext('foo', side=2, line=3, adj=0.0) cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/ __ 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.
Re: [R] shifting down ylab in a plot
thanks Phillip for the trick. However I am a bit surprised that something as trivial as this is not accessible via par options... If somebody know how to do it with par ... or anything from graphics would be nice to know Cheers -- View this message in context: http://r.789695.n4.nabble.com/shifting-down-ylab-in-a-plot-tp3057071p3057766.html Sent from the R help mailing list archive at Nabble.com. __ 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.