similar to: log in barplot

Displaying 20 results from an estimated 20000 matches similar to: "log in barplot"

2003 Dec 18
2
barplot & plot together
Dear colleges, I'm trying to combine a barplot and a plot in a single figure as follows: data <- 1:6 t <- barplot(data, axes=F) par(new= T) plot(t, data, type="b") However, as you can see in the example, the dots of the second plot do not fall in the midpoint of the bars in the first. Any trick for setting the 2 plots at the same scale? I have unsuccessfully tried: plot(t,
2005 Jun 04
1
barplot and missing values?
I want to include missing values in my barplot to get the correct x-axis, for example, x <- c(1,2,3,4, 9) y <- c(2,4,6,8,18) barplot(y) The above looks wrong because the last height in y should be a long way over. So I want to do something like... x <- c(1,2,3,4,5,6,7,8, 9) y <- c(2,4,6,8,0,0,0,0,18) barplot(y) However... I am actually using barplot2 to use the
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
2004 May 24
1
barplot
I??ve tried version 1.9.0 barplot with these (and others) example from the help page: tN <- table(Ni <- rpois(100, lambda=5)) r <- barplot(tN, col='gray') I get : <<...OLE_Obj...>> Same example with version 1.8.1 gives the following result: <<...OLE_Obj...>> What is wrong with v.1.9.0? Thanks, Carlos Guevel
2004 Dec 02
2
Drawing a rectangle around a barplot()
Hi I want to draw a rectangle behind a barplot such that it highlights those particular bars from the rest of the plot. I have figured out how to draw a barplot(), and then how to draw a rectangle of the correct shape and size (using rect()), but when I use rect() it draws over the top of the bars, and then when I re-draw the bars, it draws with a white background, thus eliminating my rectangle!
2003 Dec 23
1
How can I put error bars on a barplot() ?
Hi all, I am a relatively new R user... trying to put error bars (from SD values) on my data represented with barplot(). But I can't find any function or instruction to do so. Is there an easier way to do this than using segments() as I saw in an example in the R reference manual ? Then, can I define there graphical apparence ? Thanks for help. Regards Olivier BUHARD [[alternative HTML
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
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 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
2003 Aug 07
1
abline() plot order
I am performing this sequence barplot title legend abline When abline renders the lines they appare to be in the layer above the bars in the graph. Is there a way to make them render first or 'behind' the bars? Thanks.
2004 May 14
1
log Y scales for parplot
Hi, I am doing a barplot, and the fist bar is very big (high values) and the rest of the bars are quite small (small values). So - is there any way to make the Y scale logarithmic so that i have a wider distance from 0 to 50 for example than for 50 to 100, and so on? Thanks in advance for any help, Monica
2009 Dec 03
2
(Grouped + Stacked) Barplot
Hi All, I have googled and tried finding if someone has ever tried producing (Grouped + Stacked) Barplot. I couldn't find one. My data needs to be reshaped, but once it is done it would be something like this: Factor1 Factor2 Factor3 Value A X P 10 A X Q 20 A Y P 20 A Y Q 5 A Z P 20 A Z Q 10 B X P 20 B X Q 10 B
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]]
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 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
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
2005 Jul 08
1
Overlying a Normal Dist in a Barplot
R-Users, Hopefully someone can shed some light on these questions as I had little luck searching the archives (although I probably missed something in my search due to the search phrase). I estimated multinomial probabilities for some count data (number successful offspring) ranging from 0 to 8 (9 possible response categories). I constructed a barplot (using barplot2) and I want to
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN. Description: =========== Package: gregmisc Description: Misc Functions written/maintained by Gregory R. Warnes Title: Greg's Miscellaneous Functions Version: 0.6.0 Date: 2002/09/23 Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com> Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN. Description: =========== Package: gregmisc Description: Misc Functions written/maintained by Gregory R. Warnes Title: Greg's Miscellaneous Functions Version: 0.6.0 Date: 2002/09/23 Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com> Author: Gregory R. Warnes. Includes code provided by Ben
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 --