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
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,
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
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
__
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.
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=
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
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) {
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
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
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
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.
12 matches
Mail list logo