similar to: Multiple barplots on the same axis

Displaying 20 results from an estimated 1000 matches similar to: "Multiple barplots on the same axis"

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)
2006 Oct 24
1
marks to sepearat bars
I'd like to insert always after 3 bars a small mark, so the groups of three can be distinguished easier. Thanks for your help! David --
2002 Jun 24
1
barplot
Hi, a couple of simple graphics questions: 1. I have a little function that makes bar plots. Now I would like to limit the Y-axis outside this function (that means after calling the barplot() command) depending on the data to be plotted . Does anyone know how to do this ??? 2. When using barplot() and limiting the yAxis, R draws the bars below the x-axis. How can I avoid this problem ??
2012 Oct 23
2
plotting multiple variables in 1 bar graph
I'd greatly appreciate your help in making a bar graph with multiple variables plotted on it. All the help sites I've seen so far only plot 1 variable on the y-axis Data set: I have 6 sites, each measured 5 times over the past year. During each sampling time, I counted the occurrences of different benthic components (coral, dead coral, sand, etc.) over 5 transects in each site site
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
Dear R graphics gurus, Another question about lattice graphics. This time I would like to plot means and confidence intervals by group factor in a lattice graph. I can not find any working lattice examples. Maybe a custom panel function is the answer, but that is a bit beyond me for now. The individual plots within the lattice graph could look like this: # Example with confidence intervals
2009 Apr 24
1
font size relative to graphic
I am printing numbers onto horizontal bars in a bar plots, but I am finding it difficult to make the number always the right size. If there are more bars, the bars get narrower and the font is too big. I also find that if I change the size of the graph, the bars will get wider or narrower and the font stays about the same size. The result depends on whether I view the graph in X11 or in
2011 Oct 26
1
Plot complete dataset
Hello, I am a new user of R, so I still have some basic difficulties. I'm trying to create a bar graph completely from reading a file. The idea was on the x axis have the columns of the table Married ,Single,Divorced, widower the legend Ages 18-34 35-45 46-64 65-69 70-74 the dataset dataset Ages Married Single Divorced widower 1 18-34 10.5 35.7 8.5 3.2 2 35-45
2005 May 13
2
help with texi2dvi
Hello, Does anyone know how to write the files created by the call of "texi2dvi" in another directory ? Thanks, Matthieu
2004 Dec 03
1
How to wrap or split labels on plot
Dear R gurus, I want to wrap labels that are too long for a plot. I have looked at strsplit(), substr(), nchar(), and strwrap(). I think it's some combination but I'm having difficulty trying to figure out the right combo. I think I need to create some new matrix containing the labels already split, though I'm not sure if maybe there is a quick and dirty way to address this
2004 Nov 16
2
Barplot difficulties
Hello. I am an R newbie struggling to learn and use R . I have read many portions of the R Reference Manual, as well as the FAQs. Given that I learn something new each time, I know I might be missing something obvious. But I appeal to your good nature to help me through this initial problem. I have attached a pdf file to demonstrate what I desire and have listed what my data looks like in
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
2005 Jan 13
1
(no subject)
Good morning, I wrote a little code in R which has to show two graphs but I can get only one. How can I adress the graphs in two files? Second, I'd like, always in the same code, to add a legend to a graph. Better, I'd like to put in such a legend a new item whose color could remind the colour ol the columns it refers to in the plot. I wrote: leg.txt<-c("control
2006 Oct 13
3
Need help with barplots
I`ve read all the manuals and still couln`t find what is the difference between the stacked and side-by-side barplots ? Could you explain me ? [[alternative HTML version deleted]]
2001 Feb 05
1
Bar widths in barplots don't change
Is the width= parameter in barplot() supposed to work? I couldn't get it to work in my plot, and even in the example, data(VADeaths, package = "base") barplot(VADeaths, width=rep(0.1, 4)) the plot looks identical regardless of what I put in for the width. I looked at the source for barplot() and it looks like it SHOULD work (but what do I know). Am I doing something wrong?
2003 Feb 05
4
barplot default colors
Dear R-help, Can some one explain why barplot() uses changing colors in the bars by default? I should think that most of the time when people draw barplots, they want the bars to be in the same color. (At least that's what I'd expect. The first time I used barplot() in R, I was shocked to see the colors.) As an example, one example in ?layout draws a scatterplot with histograms drawn
2003 Feb 05
4
barplot default colors
Dear R-help, Can some one explain why barplot() uses changing colors in the bars by default? I should think that most of the time when people draw barplots, they want the bars to be in the same color. (At least that's what I'd expect. The first time I used barplot() in R, I was shocked to see the colors.) As an example, one example in ?layout draws a scatterplot with histograms drawn
2009 Jun 02
5
how to add value on the bar ploted by barplot()
how to add value on the bar ploted by barplot()? and the axis label is too big, anyone know how to change their font , thanks -- Xiaogang Yang Sensorweb Research Laboratory http://sensorweb.vancouver.wsu.edu/ Washington State University Vancouver [[alternative HTML version deleted]]
2004 Jun 18
2
Barplots and error indicators: Some R-Code
I' ve seen that several people are looking for a function that creates a barplot with an error indicators (I was one of them myself). Maybe you will find the following code helpful (There are some examples how to use it at the end): # Creates a barplot. #bar.plot() needs a datavector for the height of bars and a error #indicator for the interval #many of the usual R parameters can be set:
2009 Feb 09
2
Help on BarPlot
Dear all As a new user of R, can someone please help me with the following I have created a programme to analyse laboratory data and one of the graphs is a bar plot of 'Z' scores. On the bar plot I am using the following line to plot some results barplot (zb[,c("ZBW")], ylim = c(-6,6), names.arg=zb[,c("LabNo")],xlab="Lab Code Number", cex.names = .5 ,
2005 Jul 04
1
Rotate legends or other approaches to nice legend placement?
I'm sure this general sort of question has been asked many times before - I would _like_ automatic and sensible legend placement in barplots so data is not overwritten... but since there doesn't seem to be one, one of the following would be useful: One approach for this would be to place the legend to the right of the graph, and rotate it by 90 degrees. Is there a sensible way to do