Displaying 20 results from an estimated 50000 matches similar to: "breaks in axis"
2004 Sep 30
2
Boxplot, space to axis
Hello,
I've crearted a boxplot with 84 boxes. So fat everything is as I expect, but there is quite some space between the 1st box and axis 2 and the last box and axis 4. Since 84 boxes get very slim anyway I'd like to discribute as much of the horizontal space over the x-axis.
Maybe I've forgotten about a graphics parameter?
Thanks for your help,
Arne
2002 Mar 09
1
labels outside plotting region
Hello,
I've just started R, and I'm getting a bit mad using it. I've managed to
produce a barplot with the labels for the ytick marks placed
horizontally (perpendicular to the y-axis) usiing par(las=1). The
problem is that most of my labels are in part beyond the plotting area
because they are rather long (e.g. "H. sapiens", "D. melanogaster" ...).
What is the
1997 May 21
1
R-alpha: plot(1); axis(1, at=10) >>> Seg.fault -- and a patch
This problem has been mentioned by Arne Kovac <maak@stats.bris.ac.uk> on May 9-10.
The patch is really a replacement of 'axis' in RHOME/src/library/base/funs/
It contains the fixes which where proposed Arne Kovac
and fixes (all?) the errors he/she (?) reported on May 9.
"axis" <-
function (which, at, labels = TRUE, ...)
{
if (which%%2 == 1) {
axp <-
2007 May 21
1
Special characters on axis lables
Hello,
is there a way to specify special characters as a axis label? I need
to have a tick marking the "infinity" in my plot... Is there a way? Or
possibly a way to include latex-style formulas?
Thanks in advance,
Arne
2002 Mar 10
1
xaxp and yaxp
Hello,
I'm new to R, and I'm trying to set the number of tickmarks for a plot
using xaxp, but R seems to ignore this setting completely. Maybe you've
an idea what I'm doing wrong. I'm using R 1.4.1, and here's hat I'm
doing:
> d[,'seq']
[1] 28913 16323 13922 6237 4257 3881 4100 3781 2694 2064 1769
1550
[13] 1539 480
>
2008 May 23
1
Line Breaks and Axis breaks..
Hello all,
I have two questions. One probably has a very simple answer but I have checked the FAQ, other websites and still have not found an answer. I am new to using R. My very simple question is how to do line breaks when creating an axis title (xlab) ? I have a few that are too long and they get cut off... I found on the internet the "/n" function but I think I must be using it
2011 Jun 26
1
bwplot questions: box order, axis breaks, and multiple y-axis labels
Hi all,
I used bwplot in lattice to create a 6-panel boxplot grouped by a
conditioning variable (param) that displays concentration (conc) in
response to treatment (trtmnt). Here is the functional part of my
code followed by my three questions:
library(lattice);
ww<-read.csv(file="c:/Rdata/lattice_boxplot_prep.csv",header=TRUE,sep=",");
attach(ww);
2007 Apr 12
3
Putting 2 breaks on Y axis
R plotting experts:
I have a bivariate dataset composed of 300 (x,y) continuous datapoints.
297 of these points are located within the y range of [0,10], while 2
are located at 20 and one at 55. No coding errors, real outliers.
When plotting these data with a scatterplot, I obviously have a problem.
If I plot the full dataset with ylim = c(0,55), then I cannot see the
structure in the data in
2002 Mar 17
3
R on the web
Hello All,
I'd like to create diagrams for dynamic web-pages via a cgi-script that
itself uses R. Sadly, I found out that the png and jpeg devices need an
X-server :-( , so I cannot use these nice devices. Does any one have any
experience using R for on-the-flycreation of graphics for web-pages
pages? Any suggestions for workarounds?
thanks very much for help,
Arne
--
Arne Mueller
2007 Apr 09
3
plot log scale, axis original scale
I want to produce some boxplots and plot the logged values but have the
axis scale in the original, not-logged scale. It seeming like I have the
first few steps but I'm having trouble with the last. Here's what I'm
doing (which I got for the documentation for boxplot and axis). How do I
get the ticks to be labeled 2,5, and 9 of the original scale?
a<-c(1,2,3,4,5,6,7,8,9,10)
2002 Mar 12
4
swapping rows with columns
Hello,
I've read in a data file as a frame and now I'd like the columns to be
rows and the rows to be columns. What's the easiest way to do this in R?
> class(d)
[1] "data.frame"
> rownames(d)
[1] "98x101" "40x98" "30x40" "0x30"
> colnames(d)
[1] "H..sapiens" "C..elegans"
2008 Feb 28
3
datetime on x-axis of plot
Hello, I'm reading Time Series Analysis and its Applilcations with R Examples
and I have a question...
I notice that in the book there are timeseries plots but without the x-axis
being labeled with dates. They are just numbers 1,...50,...100, etc. How
do I get the date to show up on the x-axis?
Here is my dateframe:
> head(myData, 5)
1 2008-01-30 08:30 7.00
2
2013 Jul 29
1
Joystick axis mapping issue (wine/linux)
Good day to you wine users
I've following problem, I've a cheap joystick which is recognized
as DragonRise Inc. - however many of them are I guess.
It's some china stuff which is each time labeled different but almost
always the same device (or so I've heard).
Everything works great except the joystick is recognized as being 7 axis
one - I really dont know why it does this.
It
2010 Apr 15
1
Alignment of x-axis labels
Dear all,
I'm having trouble getting the correct spacing between x-axis labels on a barplot. This is the command I'm using to generate the plot:
temp <- barplot(precip, beside=TRUE, xaxt="n", las=1, xpd=FALSE, col="grey28", ylim=c(0, max(precip)))
Here is the structure of temp:
> str(temp)
?num [1:96, 1] 0.7 1.9 3.1 4.3 5.5 6.7 7.9 9.1 10.3 11.5 ...
And here
2012 Oct 19
2
Axis Breaks with ggplot2
R-help -
I'm trying to create axis breaks similar to this :
http://www.r-bloggers.com/wp-content/uploads/2010/08/bar-chart-natural-axis-split1.png
.
Is there a way to do this in R? Here's my code thus far:
structure(list(condition = structure(c(2L, 1L, 3L), .Label = c("con",
"exp", "unedit"), class = "factor"), trial.avg = c(4.04583333333333,
2007 Jun 16
1
Lines connecting the boxes in a boxplot
Hello,
I'm currently using a boxplot to visualize data for three different
models. As I have three models, I'm plotting three parallel boxplots
for each factor.
This works fine - what I need now is a line connecting the medians of
each boxplot of each model. I want to do this in order to visualize
the trend that one of the models exhibit. Basically, I want to plot a
curve for each model
2006 Sep 15
3
graphics and 'layout' question
Hello,
I got stuck with a graphics question: I've 3 figures that I present on a single page (window) via 'layout'. The layout is
layout(matrix(c(1,1,2,3), 2, 2, byrow=TRUE));
so that the frst plot spans the both columns in row one. Now I'd like to magnify the fist figure so that it takes 20% more vertical space (i.e. more space for the y-axis). How would I do this in R?
2009 Jul 26
2
zoo plot: yearly marks on X-Axis
Hi all,
I am plotting a financial time series, but I need a more detailed X-Axis.
Example:
x <- zoo(rnorm(1:6000), as.Date("1992-11-11")+c(1:6000))
plot(x)
The X-Axis is labeled "1995", "2000" and "2005".
I would need either "1995", "1997", etc. or maybe yearly
I used google first, then look at "?plot.zoo" but
2008 May 21
2
Labeling a plot's x-axis with 12 strings, vertically oriented.
Hello,
I really enjoy using R for my plotting. I have a modest plot, containing
24 data points, across 2 lines,12 points each. Ideally, the x-axis would
be labeled with a series of strings, oriented vertically. Here is the R
container holding the Search strings:
> Search
[1] Route To: NCENGR Status: Open
CR Route To: NCENGR
[3] Status: Cancel
2007 Nov 21
1
Manipulating x axis in stripchart
Hi all,
I I need to manipulate the x axis in a stripchart.
I will use one of the data sets included in R to
explain what I need to do.
attach(ToothGrowth)
stripchart(len[supp=='VC']~dose[supp=='VC'],
vertical=TRUE, group.names=c('A','A','A'))
stripchart(len[supp=='OJ']~dose[supp=='OJ'], add=TRUE,
vertical=TRUE, at=c(1:3)+.1,