Displaying 20 results from an estimated 10000 matches similar to: "Making the size of bar charts smaller"
2008 Apr 17
1
Having a probelm woth creating a a simple chart.
Hello,
I am having trouble with creating a simple bar chart using R. My file just
consists of 1 column called reason. Within this column, there are 2
responses(Room for Improvement and Info entered is all relevant). My code
for creating the charts is as follows:
d <-read.table("C://project/graphs/reason.csv", sep=",", header=TRUE)
pie(d$reason,
labels=d$reason,
2008 Jun 24
1
Bar charts with error bars
I would like to add error bars to a bar chart, I have created in R. I am able to add error bars to a bar plot, but the same method does not seem to work for my bar chart version.
Is there a way to add error bars to bar charts?
________________________________________________________
Audi, Fiat, Peugeot, Skoda, Porsche, Toyota, Ford - Kelkoo har brugte biler til en hver smag! Klik her
2008 Jan 17
3
Help with Error
Hi,
I am having trouble with an error I keep getting. I am just trying to create
a simple pic chart from a small table. Hope someone can help. I am new to R.
Table:
Name Votes
John 300
Sean 222
Andy 467
Sinead 740
David 124
James 641
William 380
Commands:
d <- read.table("C:\\rep.csv", head=TRUE, sep=",")
> pie(d$Votes,
+
2010 Feb 04
6
problems with SPC charts in R
Hi all,
I am using SPC techniques of plotting Xbar, R, S, P and C charts in R.For
this I am using qcc package in R and also using the following document for
reference.
http://www.stat.unipg.it/~luca/Rnews_2004-1-pag11-17.pdf
But while plotting S chart, R chartchart and also C chart I am getting
following errors.
I have plotted the Xbar chart successfully using following command
obj <-
2012 Apr 09
3
Gradients in bar charts XXXX
Hello, I have a graphics-related question:
I was wondering if anyone knows of a way to create a bar chart that is colored with a three-part gradient that changes at fixed y-values. Each bar needs to fade green-to-yellow at Y=.10 and from yellow-to-red at Y=.20. Is there an option in a package somewhere that offers an easy way to do this?
Attached is a chart I macgyvered together in Excel using a
2009 Feb 03
2
ThinkCell type waterfall charts in R?
Hi all,
with PowerPoint and ThinkCell one can draw something they call waterfall
chart and it looks like this:
http://www.think-cell.com/products/images/waterfall.gif
I found discussions on waterfall charts in the archive of this
mailinglist, but unfortunately they looked totally different. Other
names for this type of plot seem to be bridge chart, cascade chart,
stair case chart, etc. but
2007 Jun 29
1
shading bar charts
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi alls,
i have to code a family of bar charts. After reading the doc, i cannot
understand if it is possible to shade the bar colors and how.
With shading i don't mean `density`. I mean something like that:
http://www.advsofteng.com/images/colorcylinder_g.png
Thanks and br
- --
Federico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6
2006 Sep 19
1
Adding percentage to Pie Charts (was (no subject))
Have you read the books by Cleveland?
His experiments show that most people do better estimating things and
comparing things on a linear scale rather than looking at angles and
areas (also see
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatGraphCourse/graphsco
urse.pdf)
With a dot chart you can set the axis to go from 0 to the total of all
groups (see the example I sent before, it could
2011 Oct 25
1
Bar chart: break long bars
Dear all,
I have a problem with my stacked bar charts. I have one very long bar, hence
I would like to break the x-axis at a certain point so that the shorter bars
can be seen better.
Here is a cooked up example:
library(lattice)
group <- rep(1:3,10)
x <- runif(30, 0, 100)
y <- runif(30, 0, 100)
x[5] <-500
z <- rep(seq(1:10),3)
z <- z[order(z)]
frame <-
2010 Apr 27
2
how to set chart output size in rgl (surface3d)?
Hi R users,
Does anyone know how to change the size of 3d charts? I'm using surface3d in
rgl package, opening a new window each time to display the chart. I want it
so that the chart fills the whole window, because when I output it to png, I
don't want all the white space around the chart (right now, i'm getting this
white "border" around the chart because the chart is
2011 Nov 23
2
Bar charts, frequencies known, intervals of varying width
Hi
I would like to plot bar charts in a particular way. The intervals are not
evenly distributed and are in a data frame column called size and the
relative frequencies are in a second column called mass. Both size and mass
are continuous ratio data to all intents and purposes. The data actually
represents sieving of sand where $size is sieve aperture and where $mass is
the amount remaining on
2011 May 31
2
OT: Pie charts
We regularly get questions about making pie charts, and frequently
veer off into the philosophical and practical issues surrounding that
form of data graphic: human perception of angles and so on.
So while this isn't an R issue, I thought some of you might appreciate
this brief discussion of the efficacy of pie charts:
http://fakescience.tumblr.com/post/6042293374/understanding-pie-charts
2009 Feb 24
0
creating bar charts with nested groups
I'm looking for a way to create bar charts with nested groups levels.
I have data that is seperated to this factors:
1. Day part - day/night.
2. Season - summer/winter.
3. habitat - Cover/Open
I have created in Excel the following chart which I would like to create in
R:
http://www.nabble.com/file/p22180918/chart.jpg
I have seen this nice post:
2011 Jan 31
1
arranging pie charts in a matrix layout with row/col labels
Hi, I have a vector of data, that I group based on two factors via
tapply. For each such grouping I would like to plot a pie chart. I
can layout these pie charts in a matrix layout, correpsonding to the
levels of the two factors. But I am getting stuck on how to label the
rows and colums. My current approach looks like this:
x <- data.frame(obs=sample(c('low', 'high'),100,
2009 Sep 11
1
bar chart with means - using ggplot
Like this?
# example using qplot
library(ggplot2)
meanprice <- tapply(diamonds$price, diamonds$cut, mean);meanprice
cut <- factor(levels(diamonds$cut), levels = levels(diamonds$cut))
qplot(cut, meanprice, geom="bar", stat="identity", fill = I("grey50"))
dev.new() # create a new graph to compare with qplot
# Example using ggplot
ggdata <-
2008 Dec 05
9
Bar Chart in Rails
Hi Everyone,
Can anyone tell me how to draw a bar chart in Rails? Is there any
in-built method in Ruby on Rails (or) should i go for 3rd party plugins?
I searched and came across this "open flash chart" - i don''t know how to
customize it according to my requirement.
PS: I have attached my requirement sample for you reference.
Thanks,
Vasanth
Attachments:
2003 Jul 18
1
confused about x-coordinates and bar charts
Thanks for all the help on my previous histogram problem. I intend to
summarize the solutions back to the list Real Soon Now, but first, I've
got another problem.
I've made a bar chart that reports means. I'd like to put the number
of observations on top of each bar. Here's what I've got:
barplot((subset$x),
col=grey(.5),
ylab="Mean Engagement
2008 Oct 02
0
Gruff bar charts and zero data
Hi - I am creating bar and stacked bar charts in Gruff, but the problem
I am having is that zero data is showing up as a thin bar. (It also
seems to be that way in examples I have seen online where a zero value
still shows as a thin bar or slice)
It''s not a major issue to see a thin sliver on a plain bar chart, but on
my stacked bar chart if I have more than one zero value in a
2010 Jul 05
2
Help - Google Charts on Rails Plugin
Hello,
I''m starting at the RR, and I''m trying to use google charts to generate some
graphs in a single plugin in rails. But I''m testing the samples that are
giving errors. I think it must be configuration error. Someone who has used
google charts on rails help me?
Since already thank you!
Juliana.
=================================================================
2009 Aug 21
2
gantt chart for dataset
hi,
Thanks for responding of gantt charts. but i have some problem regarding
with gantt charts. i.e.
Ymd.format <- "%Y/%m/%d"
Ymd <- function(x){ as.POSIXct(strptime(x, format=Ymd.format))}
gantt.info <- list(
labels =c("First task","Second task","Third task","Fourth task","Fifth
task"),
starts