Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7478

PairedBarChart "Education and Training pay..."

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail
From Gilmar Rodriguez-pierluissi <peacenova@yahoo.com>
Newsgroups comp.soft-sys.math.mathematica
Subject PairedBarChart "Education and Training pay..."
Date Fri, 30 Dec 2011 12:12:45 +0000 (UTC)
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <jdk9rt$8cm$1@smc.vnet.net> (permalink)
Reply-To Gilmar Rodriguez-pierluissi <peacenova@yahoo.com>
Lines 51
NNTP-Posting-Date 30 Dec 2011 11:17:50 GMT
NNTP-Posting-Host 4a547f8c.news.twtelecom.net
X-Trace DXC=U;OWS1R5NVRWgV]Z^V=^]_C_A=>8kQj6]hHXa^^g6TZTLgf=FB8i5STEFiONJ7[GoVVXL94Ko9oN\
X-Complaints-To abuse@twtelecom.net
Xref x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:7478

Show key headers only | View raw


Dear MathGroup:

I'm attempting to build a chart similar to the one appearing on the
following web page: http://www.bls.gov/emp/ep_chart_001.htm

The following is what I have done far:

doctoralrate = {0, 1.9}; doctoralearning = {0, 80600};
profdegreerate = {0, 2.4}; profdegreeearning = {0, 83720};
masterdegreerate = {0, 4.0}; masterdegreeearning = {0, 66144};
bachelordegreerate = {0, 5.4}; bachelordegreeearning = {0, 53976};
associatedegreerate = {0, 7.0}; associatedegreeearning = {0,39884};
somecollegerate = {0, 9.2}; somecollegeearning = {0, 37024};
highschoolgradrate = {0, 10.3}; highschoolearning = {0, 32552};
somehighschoolrate = {0, 14.9}; somehighschoolearning = {0, 23088};

labels = {"Some high school, no diploma", "high school graduate", 
 "Some college, no degree", "Associate degree", "Bachelor's degree",
 "Master's degree", "Professional degree", "Doctoral degree"};

labelsrates = {"1.9 %", "2.4 %", "4.0 %", "5.4 %", "7.0 %", "9.2 %", 
 "10.3 %", "14.9 %"};

labelsearnings = {"$80,600", "$83,720", "$66,144", "$53,976", 
 "$39,884", "$37,024", "$32,552", "$23,088"};

scalingfactorrate = 5000;

PairedBarChart[
Reverse[scalingfactorrate {doctoralrate, profdegreerate, 
 masterdegreerate, bachelordegreerate, associatedegreerate, 
 somecollegerate, highschoolgradrate, somehighschoolrate}], 
Reverse[{doctoralearning, profdegreeearning, masterdegreeearning, 
 bachelordegreeearning, associatedegreeearning, somecollegeearning, 
 highschoolearning, somehighschoolearning}], 
ChartLayout -> "Stacked", ChartStyle -> "Rainbow", 
BarSpacing -> Large, 
ChartLabels -> {Placed[{"Unemployment Rate in 2010 (%)", 
 "Median Earnings in 2010 ($)"}, Above], 
 Placed[labels, "CenterAxis"], None}, AxesLabel -> "Education", 
ImageSize -> Large, PlotLabel -> "Education and Training pay...", 
ChartElementFunction -> "GlassRectangle", Axes -> {False, True}]

I'm having difficulties inserting the labelsrates, outside and to the left of
the Unemployment rate bars. Similarly; I want to insert the labelsearnings, outside and to the right of the Median Earnings bars.

I'm also having difficulties separating the two vertical axes so that, the education level labels fit  properly between the axes.

Thank you for your help!

Gilmar Rodríguez Pierluissi

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

PairedBarChart "Education and Training pay..." Gilmar Rodriguez-pierluissi <peacenova@yahoo.com> - 2011-12-30 12:12 +0000

csiph-web