Displaying 20 results from an estimated 10000 matches similar to: "abline() plot order"
2004 Mar 26
1
Plot difference between PNG and X11
I am rendering a plot using boxplot, mtext, abline, etc.
The X11 view of the plot looks correct.
When I change to the png device to:
png(filename="bxplot.png",width=640,height=640)
I get half of a character label plotted in the lower left
corner in the resulting .png file.
The character fragment started to appear in png when
I started using mtext.
2004 Nov 26
2
barplot(2?) with CI from a zero reference line
Dear R Users, (and dear Marc)
First of all many thanks for the answers to my previous questions.
I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in
barplot2).
Is there a way to tweak barplot2, for example, to do that ?
I have tried to see what the function was but unlike other functions was
not able to
2003 Jan 17
2
barplot plotting problem
Hi,
Is there any equivalent of type="n" when constructing barplots which will
still construct the axes (plot=F, as it says doesn' plot anything at all).
Alternatively I tried setting col="white" and border="white" but the border
command does not seem to be operational. True??
Any other ideas? What I'm actually trying to do is construct vertical
abline()'s
2007 Apr 07
2
Setting where the x-axis crosses the y-axis
Hi all,
my apologies for a probably very obvious question but i can't figure out if, on
a bar plot, there is a simple way to have the x-axis cross the y-axis at 1,
when the y-axis is on a log-scale?
I want to draw a bar plot, and have some of the bars "drop" below 1 while
starting from 1. Is this possible?
I have been trying various things using barplot, barplot2 etc... without
2003 Nov 22
3
1.8.1 behavior change?
In <R 1.8.1 the following fragment worked properly, now (1.8.1)
it creates the following warning/error:
Any advice appreciated.
stt <- data.frame()
# load all datasets into a dataframe
for (ds in 1:n) {
stt[ds] <- as.matrix(read.table(fileList[ds]))
}
--
> stt <- data.frame()
> # load all datasets into a dataframe
> for (ds in 1:n) {
+ stt[ds] <-
2004 Nov 28
1
Modifications to an abline
Dear List:
I am working to generate graphs for individual students that will be created through a series of loops in Sweave. Before doing so, I am still trying to design the graph. The code for creating the barplot is below with some sample datapoints just made up for now.
Ultimately, this chart will take data from an lme object using longitudinal student data. So, the dots represent the
2017 Jan 27
4
Suggestion: barplot function
Hello developers folks!
First, congratulations for the wonderful work with R.
For science, barplots with error bars are very important. We were
wondering that is so easy to use the boxplot function:
boxplot(Spores~treatment, col=treatment_colors)
But there is no such function for barplots with standard deviation or
standard error. It becomes a "journey" to plot a simple graph (e.g.
2007 Sep 12
2
barplot border width
I need to increase the width of the border in a barplot, i checked both
barplot, and barplot2, but cant find how to do it. how can I do?
thank you
john
[[alternative HTML version deleted]]
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
xlab = "$ '000", plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in
some cases rather long, so that I would like to wrap/split them at a
space once they
2007 Mar 01
2
barplot2, gap.barplot
Hello,
I try to handle a simple bar-plot, but it turns out to be not as simple
as I thought.
1) I have created a .dat-File, e.g. test.dat:
DATA DATA-SEM
2.2 0.32
6.2 1.30
12.7 1.61
48.6 3.08
4.1 0.86
4.5 0.32
1.5 1.13
1.2 1.08
The first row is the data represented by bars. The second row deals with
the Standard Error of Mean. The lines correspond to time-intervals of
experiments.
2) I now
2006 Feb 16
1
R-help - Problem in drawing braplot with a huge value of data
Hello R-experts,
I am facing a strange problem while creating a barplot. I have serise of
data of which the first
on is around 162589 while the remaining data are around 0-150. so when I am
ploting the barplot
with all the data I am getting a single line -> test1.jpg.
But If I remove the 1st value i.e 162589 then I am getting a normal
barplot -> test2.jpg
Can some one help me regarding
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
2003 Aug 08
2
Comprehesive Package/Library list?
Is there a list of all contributed R libraries available through CRAN?
Ideally it would include a one or two line description.
I am looking for a packages() command similar to library()
but that would access the CRAN repository and provide a
listing of the current libraries, and version.
example:
http://www.cpan.org/modules/01modules.index.html
2008 Aug 06
3
Incomplete x-axis in barplots
Hi everyone,
This is a graphics question, concerning presentation rather than
actually producing figures.
After much fiddling I've managed to create bar plots showing error
bars. I've put in an x-axis, which goes along all the bars, but
doesn't appear between the y-axis and the first bar. I've searched all
the resources I have access to but can't find anything addressing this
2007 Oct 31
2
ylim in barplot2 function?
Hi list,
I'm using barplot2 form the gplots package to plot a few numbers (I want to add SD bars later).
However, I would like the y-axis not to start from 0 but 500. When I add the parameters YLIM, something goes wrong. The graph is not 'cut off' at 500. Instead the bars seems to sink trough the bottom of the graph.
Because its a little hard to explain, here is a self-containing
2005 Jun 30
2
How to rotate the axisnames in a BARPLOT
Hi all,
- how can I do a barplot with rotated axis labels? I've seen the example for
just a plot in the FAQ, but I'll missing the coordinates to plot my text at
the right position beneath the bars.
Is there any (easy?) solution?
- how can I set the y-axis in a barplot to logarithmic scale?
Many thanks in advance!
Best Regards
Tom
--
2004 Nov 21
3
Help with ooplot(gplots) and error bars
Dear All
I am trying to graph a proportion and CI95% by a factor with ooplot (any
other better solution ?)
It works well until I try to add the confidence interval.
this is the error message and and a description of the data:
> dat1
PointEst
TT1 1 3.6
TT2 2 5.0
TT3 3 5.8
TT4 4 11.5
TT5 5 7.5
TT5 6 8.7
TT7 7 17.4
> dat2
2011 Jul 18
2
Diagramas de barras agrupados y apilados
¿Alguien sabe cómo dibujar un diagrama de barras agrupado (o apilado) con diferente
número de elementos en cada grupo y que la leyenda quede "correcta"?
Si utilizamos barplot (o barplot2 de gplots) podemos definir una matriz con columnas
las diferentes alturas para cada grupo y si un grupo tiene menos categorias
simplemente asignamos NA a los elementos sobrantes de esa columna. Pero no
2003 Feb 21
5
help
Hi,
help.I would like to plot the mean and standard deviation against a factor
in the xaxis- in other words I want an errorplot. I also want to put the
standard deviation like a "T" on top of a barplot. How can do this in R
Bragadeesh
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to
format the names of my categorical variables (tree species) on the x-
axis so that the genus name is above the species name (to save room).
My code so far is:
speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali
versicolor", "Brosimum utile", "Caryocar