Questions tagged [stacked]
377 questions
-1
votes
3 answers
Stacked barchart over work week and another group
I have several criteria from which I want to create a stacked barchart.
My criteria are:
work week, quantity, customer, Tag (Received, Shipped)
This (facet_grid(~Tag)) looks ok but is not really what I need.
ggplot(allRecords, aes(x =…

Maik Lindemann
- 51
- 5
-1
votes
1 answer
Two stacked bar charts as sub plots - any references?
I am trying to chart two subplots, one under the other, using stacked bar charts. I can generate stacked bar charts and subplots, but am unable to combine the two, one underneath the other. Does anybody know of some code that I can look at that does…

Bob
- 15
- 1
- 4
-1
votes
1 answer
Stacked bar plots in ggplot
I have the follwing data frame
State Total_EV_1 Total_EV_2 Total_EV_3 total
1 CA 982 13166 1670 15818
2 TX 199 2169 267 2635
3 FL 329 …

Sharabh Shukla
- 1
- 1
-1
votes
1 answer
Create stacked bar plot in R
I am shifting from excel to R for creating better plots and am working on creating stacked bar plot in R showing the three columns Percent.Exonic, Percent.Intronic and Percent.Intergenic in one stack for each of the samples.
The values of these…

AnkP
- 631
- 2
- 9
- 18
-1
votes
1 answer
Vertically stacked multiplot in gnuplot
I am trying to plot 5 graph in vertically stacked pattern in gnuplot. There are many horizontally (x axis shared) graphs. I tried to adapt their solution. But somehow not works. Here is code.
set key bottom center
NX=5; NY=1
DX=0.01; DY=0.01;…

Ayurzana badarch
- 27
- 1
- 6
-1
votes
1 answer
Stacked barplot in R
I would like to make a stacked barplot with R.
I tried the mtcars example, and it seems to be working fine.
However, when I tired the code with this table, it does not work, I wonder what is wrong with it.
data <- read.table(text = " Solar…

Amin
- 1
- 1
-1
votes
1 answer
how to make a graph from time series with numerical outcome and multiple treatment groups with colors coding for treatment
I need to make a graph from a time series which has in the first column a group variable with 2 levels, in the second another group variable (smaller group) with 22 levels, followed by 427 variables that code for days with a numeric outcome.…

Dirk van Dooren
- 89
- 8
-1
votes
3 answers
highstock stacked column range selector
in highstock I tried to use a rangeselector in my stacked column chart.
data are number of message/month/country with 16 countries.
I activated the range selector to display 3month, 6, 12 or all (I would like after that display 3 last month, 6last,…

Nicolas LB
- 1
- 1
-1
votes
1 answer
Highcharts JS - Stacked Column: each column filled
How do you set up a stacked column chart so that the bottom series represents the data values, and the top series is only there to fill in the empty space?
See attached image for reference:

Radar Hill
- 81
- 3
-1
votes
1 answer
how can i plot stacked columns and a single column in highcharts together?(multi Stacked)
my data is something like below.
i want to show them in one single chart in highcharts.
category [jack jane julie john]
i have 3 series of grades like this:
homework [2 1 2 3]
midterm [5 4 6 6]
final exam[10 9 11 10]
i want them to be…

morteza kavakebi
- 1,640
- 3
- 18
- 39
-1
votes
1 answer
How to create Stacked Scatter Plot in Matlab?
I want to be able to create Stacked Scatter plot. So that same Y-axis and X-axis would be required. Each scatter plot should be at vertical distance from each other. Also all scatter plots should have same Y-axis and I want them to have same…

Spandyie
- 914
- 2
- 11
- 23
-2
votes
1 answer
How can I create a linear visualization in R?
I am completely new to programming and R, so be gentle on me ;-) - after extensive research on my problem, I still cannot figure out how to solve it...
I want to display the domains of a protein using ggplot2. I thought the best way is to use…

Heiko
- 65
- 4
-2
votes
2 answers
Stacked barplot histogram in R
I would like to make a histogram for my data but I would also like to visualize it in such a way that each category is coloured differently but stacked together.
This is what I'm trying to achieve: Stacked histogram from already summarized counts…

petite spins
- 1
- 1
-2
votes
1 answer
MSChart - Stacked Column having two values per series
is it possible to display two values in one series in a multiple series column chart
ex. i have products per category, each product has got two values, the selling & buying value
so if we plot categories against x axis and products as multiple…

prashant
- 49
- 6
-3
votes
1 answer
R Stacked Bars plot using ggplot 2
I would like to make a % stacked plot like the picture uploaded.
This is my script and I get the following error:
gplot(data=res, aes(x=GO.term, y=up)) + geom_bar()
**Error: stat_count() must not be used with a y aesthetic.**
# Bar plot for GO…

George
- 3
- 3