similar to: Advice on variable color stacked bar graphs?

Displaying 20 results from an estimated 50000 matches similar to: "Advice on variable color stacked bar graphs?"

2009 Aug 06
1
adding color bar to a graph
Hi everybody, I am wondering how i can add a "stretch" color bar / legend to a graph that uses colorBrewer to define the colors in it. I will try to explain my graph, but i also uploaded it at: ftp://ftpext.usgs.gov/pub/er/fl/st.petersburg/Monica_pal/ The file is: robcor_training_pca.pdf - i will also attach this file in case some people accept attachments. So i took apart the
2012 Apr 09
1
slanted stacked bar graphs?
Hello R users, I would like to generate "slanted" stacked bar graphs like those on the bottom of pages 1 and 2 in this document: http://www.wssinfo.org/fileadmin/user_upload/resources/JMP-Snapshot-SWA-HLM.pdf . I've also attached the file to this email (pdf). Does anyone know if this is possible in R? I have tried googling and searching the R help archives, and it seems like ggplot2
2010 Jul 28
1
Help Creating a Stacked Bar Chart with Color Coding
I have a data set of the following form: Johnson 4 Smith 4 Smith 2 Smith 3 Garcia 1 Garcia 4 Rodriguez 2 Adams 2 Adams 3 Adams 4 Turner 4 Turner 3 And I'd like to create a stacked bar chart that has scores on the x-axis and the bars are broken up by judges name. Whenever I try to do this though
2007 Mar 02
1
barplot with different color combination for each bar
Hi, I'd like to construct a somewhat unusual barplot. In "barplot" I use beside=F as I'd like to have stacked bars. The height of each bar is always the same. Information in my plot is coded in the color of the bar. I therefore need to be able so assign a different combination (or order) of colors to each individual stacked bar. In the example below, the combination of
2008 Mar 06
2
syslinux / pxelinux and color palette.
I'm trying to convert my image so that the colors will remain the same after I do a clear screen. What I would like to make is a palette for gimp which I then could use too convert my images, thus achieving my goal :) I have found a list in which order the colors seems to be arranged. 0 = black 8 = dark grey 1 = dark blue 9 = bright blue 2 = dark green a =
2009 Aug 07
0
Bar plots with stacked columns marked with askterisks
Hi, I'm trying to plot bar graphs with stacked columns marked with askterisks for certain columns, which follow certain criteria. I've gotten the stacked bar plots with Data set A (please refer to code below). However, I haven't figured how to put asterisks on columns based on some extra information (such as "used/unused") as in Data set B i.e. asterisks at the
2010 Jan 29
1
How to draw a border for multiple graphs in one page
Hi, I am struggling to create a 2 by 2 multiple graphs in one page. I used par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie chart (They are all same). For example, my data is like this Concentration value A1 69 A2 8 G1 51 G2 1
2010 Jan 29
1
How to draw a border for multiple graphs in one pager
Hi, I am struggling to create a 2 by 2 multiple graphs in one page. I used par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie chart (They are all same). For example, my data is like this Concentration value A1 69 A2 8 G1 51 G2 1
2010 Feb 03
1
color blending and transparency
I am using ggplot and posted this question at that helplist. It was suggested that I try a more general R-help list for a possible solution to this problem. Within ggplot, I am using geom_area with red and blue and expect where they overlap should be purple. But instead, it's dark red. Playing with alpha and with different colors doesn't seem to solve the problem. Here's a very
2012 Jul 06
1
How to compare stacked histograms/datasets
Hello All, I have a couple of stacked histograms which I need to compare/evaluate for similarity or difference. http://r.789695.n4.nabble.com/file/n4635668/Selection_011.png I believe rather than evaluating histograms is will be east to work with dataset used to plot these stacked histograms, which is in format: RED PURPLE BLUE GREY
2009 Oct 06
1
ggplot2: mapping categorical variable to color aesthetic with faceting
Hello Again... I?m making a faceted plot of a response on two categorical variables using ggplot2 and having troubles with the coloring. Here is a sample that produces the desired plot: compareCats <- function(data, res, fac1, fac2, colors) { require(ggplot2) p <- ggplot(data, aes(fac1, res)) + facet_grid(. ~ fac2) jit <- position_jitter(width = 0.1) p <- p +
2009 Dec 02
0
Stacked bar chart help.
Can't figure this out. I have the following list of salary averages per year, per position. The dput output is: > dput(salaries) structure(list(yearID = c(2009, 2009, 2009, 2009, 2009, 2009, 2009, 2009, 2009, 2008, 2008, 2008, 2008, 2008, 2008, 2008, 2008, 2008), AVG = c(8956855.61, 7886684.166126, 7534048.43102, 7406439.339471, 7219148.437934, 6697734.908336, 6400379.88398,
2012 Mar 16
2
contingency tables
Ok, before I definetly give up, and throw the laptop out of the window, or fill my data.frame manually, I'll ask for some help. I have a data.frame named MyTable with 3 columns, that looks like this: V1 V2 V3 red-j appearanceblood-n 105.032 red-j appearanceground-n 93.749 red-j appearancesea-n 102.167 red-j appearancesky-n 10.898
2011 Mar 18
0
keep color range constant across three persp() graphs
Hi All. I have created two, 3-D, color graphs using persp(). Z values range from 1 to 100 on the first plot, and 0.5 to 50 on the second plot. I would like to keep the color range constant between the two graphs, rather than each graph showing the full range of colors. So the first graph should go from yellow to red and the second graph should go from yellow to orange. Below I present a
2012 Jul 10
5
How to add marker in Stacked bar plot?
Hi, I am working on stacked bar plot and want to add marker(arrow) in stacked bar plot. DF=data.frame(names=c("tomato", "potato", "cabbage", "sukuma-wiki", "terere"), freq=c(7,4,5,8,20)) barplot(as.matrix(DF[,2]), col=heat.colors(length(DF[,2])), legend=DF[,1], xlim=c(0,9), width=2) http://r.789695.n4.nabble.com/file/n4635946/Screenshot.png
2011 Dec 12
3
windrose color ramp issue
Greetings! I'm having an issue with the windrose produced by the windrose function from the circular package. For our weather stations in North Carolina I'm helping with a script which takes hourly wind speed and direction data to create windroses for our end users. One of the stations in the mountains frequently reaches wind speed of 40 to 60 mph and in storms can reach wind speed over
2007 Aug 21
2
Stacked Bar
Hi R Users! Thanks in advance. I am using R-2.5.1 on Windows XP. I am trying to do a stacked bar plot, but could not get through the following problem. The code is given below. 1. How can I provide 15 different colors for each method with 15 Rows? 2. How can I put the legend in a particular position (eg., in the top or bottom or right or left)? How can I put legend using a number
2009 Jan 16
0
Barchart in lattice package: controlling order of bars in plot and color of a selected bar
Hi, I'm using the lattice function 'barchart' to make a series of 4 histograms. Currently, the y-axis values are graphed in order of the y-axis variable. I'd like to have the y-axis values sorted in ascending order of the x-axis values so that the longest bar horizontally is on top of the graph (in it's seciton) and the shortest bar is on the bottom. I can do this in
2011 Jul 06
1
gradient generation
Dear R-help subscribers; I have a question regarding making gradients in R. I've searched on the web, but was only able to find functions that make a gradient between color X and Y, which is not what I want. I want to 'pick out' individual, smaller pieces of a gradient based on a range of numbers. Say that I have a range of numbers, leading from 0 to 1. Then I want 0 to refer to
2008 Sep 26
1
looking for a better way to code a bar graph
I've just used r a little, so this might be a trivial question but I have a small data file part, vs/total ,ps/total, gpgpu, date ... ... ... ... .. that contains the percent that certain features contribute to a part and the date the part was built I'd like to do stacked bar graphs one bar per part showing the