Re: [R] axis labels not showing

2012-04-08 Thread Ivan Allaman
It's very simple my boy!! Do you already to play with "mar"? So..Try to change the values this object. For example, par(..., mar=c(*5*,2,2,2)). Bye! -- View this message in context: http://r.789695.n4.nabble.com/axis-labels-not-showing-tp4541268p4541354.html Sent from the R help mailing list

Re: [R] axis labels not showing

2012-04-08 Thread Vikram Chhatre
Indeed. Changing margins brought back the axis labels. Thank you. What I would really like to do is stack these plots atop each other so they share the common x-axis. Is there a way to do it with ggplot2? Vikram On Sun, Apr 8, 2012 at 1:33 PM, ilai wrote: > On Sun, Apr 8, 2012 at 11:40 AM,

Re: [R] axis labels not showing

2012-04-08 Thread ilai
On Sun, Apr 8, 2012 at 11:40 AM, Vikram Chhatre wrote: > Hello - > > I want to generate stacked plots with par(mfrow)) function.  However, > my axis labels aren't showing. > Your mar (2) are too narrow. You could increase back to the default or use the lines option in mtext to write labels closer

[R] axis labels not showing

2012-04-08 Thread Vikram Chhatre
Hello - I want to generate stacked plots with par(mfrow)) function. However, my axis labels aren't showing. My script is here: http://pastebin.com/yXXeMQgb The plot is here: http://www.crypticlineage.net/rdisc/strplot.pdf Thank you for your time. Vikram __

Re: [R] axis labels defaulting to scientific notation

2010-08-11 Thread Jim Lemon
On 08/11/2010 06:18 AM, Watkins, Janice wrote: The labels on the x-axis are defaulting to scientific notation no matter how small cex.axis is. How can I override scientific notation to get the labels to print out as specified? Here is the code (UNIT here is 0.0105): plot(xm,yv,log="xy",ylim=c(0.

[R] axis labels defaulting to scientific notation

2010-08-10 Thread Watkins, Janice
The labels on the x-axis are defaulting to scientific notation no matter how small cex.axis is. How can I override scientific notation to get the labels to print out as specified? Here is the code (UNIT here is 0.0105): plot(xm,yv,log="xy",ylim=c(0.1,20)/UNIT,xlim=c(0.004,20)*UNIT,xaxt="n",t ype=

Re: [R] Axis Labels for Compound Plots in ggplot2

2009-12-30 Thread baptiste auguie
Hi, You can set up a Grid layout with one viewport at the bottom and another on the left and use grid.text to add your labels. An example is given below using grid.pack. The gridExtra package provides a convenient wrapper for these regular arrangements of plots, ##library(gridExtra) #http://grid

[R] Axis Labels for Compound Plots in ggplot2

2009-12-30 Thread Lorenzo Isella
Dear All, I am trying to stitch together multiple plots using ggplot2 Consider for instance the following snippet based on an old thread (http://tinyurl.com/ylehm2t) library(ggplot2) vplayout <- function(x, y) viewport(layout.pos.row=x, layout.pos.col=y) draw4 <- function(pdfname, a,b,c,d,w,h) {

Re: [R] axis labels

2009-10-14 Thread jonas garcia
Problem solved! thanks J On Wed, Oct 14, 2009 at 12:31 AM, S Ellison wrote: > They probably look different because the y-axis distance is to the > bottom of the number and the x-axis to the top; character adjustment is > putting the actual locations in the 'same' place but with opposing > orien

Re: [R] axis labels

2009-10-13 Thread S Ellison
They probably look different because the y-axis distance is to the bottom of the number and the x-axis to the top; character adjustment is putting the actual locations in the 'same' place but with opposing orientation. Try fooling about with the mgp argument in axis(): par(mfrow=c(1,1), cex.axis

Re: [R] axis labels

2009-10-13 Thread Don MacQueen
See the 'mgp' argument to par(). You should be able to change mgp to get what you want. -Don At 5:58 PM +0100 10/13/09, jonas garcia wrote: Dear list, why does the distance between the axis labels and the tick marks looks different for x axis and y axis in the plot (see code below). In fact, t

[R] axis labels

2009-10-13 Thread jonas garcia
Dear list, why does the distance between the axis labels and the tick marks looks different for x axis and y axis in the plot (see code below). In fact, the x axis labels look furthest from the tickmarks than in the y axis. How can I make them look the same? par(mfrow=c(1,1), cex.axis = 0.5, cex.