Graphic Presentation Using Excel • Chart axes and axis tricks – Adding a line – Adding arbitrary gridlines(dummy axis) • Examples – Interaction effect – Stacked charts with vertical separation – Bar chart with broken axis • Most of materials covered here are from the following website http://peltiertech.com/Excel/Charts/ ChartIndex.html
38
Embed
Graphic Presentation Using Excel Chart axes and axis tricks – Adding a line – Adding arbitrary gridlines(d ummy axis) Examples – Interaction effect – Stacked.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Graphic Presentation Using Excel
• Chart axes and axis tricks– Adding a line– Adding arbitrary gridlines(dummy axis)
• Examples– Interaction effect– Stacked charts with vertical separation– Bar chart with broken axis
• Most of materials covered here are from the following websitehttp://peltiertech.com/Excel/Charts/
ChartIndex.html
Chart Axes and Axis Tricks
• Adding a horizontal/vertical line in a chart1) adding a new series2) applying it to the secondary axes3) making the secondary axes disappear
• Adding arbitrary gridlines1) adding a new series2) adding an error bar3) making the Y axes disappear.
Adding a horizontal /vertical line
• The added line actually is a new data series
12/30
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
0
2
4
6
8
10
12
14
16
18
1516
10
14
910
8
6
43
9.5
Add A Horizontal Line
Date
Valu
e
12/30
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
01/02
11/02
09/02
07/02
05/02
03/02
0
2
4
6
8
10
12
14
16
18
20
34
6
8
109
14
10
1615
9.5
Add A Horizontal Line
Date
Valu
e
Step 1: adding a new series a) Generate a bar
chart for Y valuesb) Generate a new
series, and set up a range with X and Y values corresponding to the endpoints of your indicator line.
c) Add the new series into the chart by copying and pasting special.
Step 1 : adding a new series
d) Select the new series, and right click the mouse to select the “Change Series Chart Type” menu.
e) Change it to XY(scatter) w/o marker
Step 2: applying to the 2nd axes
a) Select the new series, and change it to secondary axis.
b) Right click the top axis, and change the min to 0, and the max to 1.
c) Hide all axis markers.
Step 3: making the 2nd axes disappear
a) Click the right Y axis, and delete it using the backspace key.
Step 3 : making the 2nd axes disappear
b) Click the end point of the new series, and right click to select the “Add Data Label”.
Finally, a bar chart with a line
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0
2
4
6
8
10
12
14
16
18
9.5
Adding arbitrary gridlines
0 5 10 15 20 25 30 35 40 45 50
0.7
1.2
1.9
2.2
3.1
3.6
4.2
Step 1: adding a new series
a) Insert a x y scatter plot
b) Generate a new series that contains vertical locations of the gridlines.
Step 1 : adding a new series
c) Add the new series into the chart by copying and pasting special.
Step 2:adding an error bar
a) Select the new series and add error bar for horizontal direction, and specify the custom value to the max of the x axis.
Step 3: making the Y axes disappear
a) Change the max of Y and X axes to their original values.
b) Remove the legend.
Step 3: making the Y axes disappear
c) Remove the markers and the original gridlines.
d) To add the labels for the gridlines, you need some help from others.