|
Peltier Tech
Buy me a coffee If this topic or the whole site has been helpful, please support further development by treating me to a cup of coffee. |
Custom Histograms in Microsoft Excel.
Suppose you want to chart the relative frequency of numbers in a list. This is typically done with a histogram, showing the values across the horizontal axis, and a column above each value where the height of each column is proportional to the number of occurrences of the corresponding value.
Suppose further that instead of a bland column chart, you want to put an X in the histogram for every occurrence of a value. You can do this with a scatter chart, using the following procedure offered by Excel MVP Debra Dalgleish in the Microsoft Charting news group. Let's use the following array of values:
This produces a handsome histogram, where the number of X markers indicates the number of each value in the array.
VariationsYou could make this histogram with any of the built-in chart markers. This chart uses the circle instead of the X marker:
Or you could use any drawing object for the markers, as described in my Custom Chart Series Markers page. Create the drawing object, copy it, select the series in the chart, and use Ctrl-V to paste the shape as the series marker. These examples use WordArt letters and a Star drawing object for their markers:
|
Peltier Technical Services, Inc.Commercial Utilities | Custom Solutions | Training | Charts and Tutorials | PTS BlogPeltier Technical Services, Inc., Copyright © 2010. All rights reserved. |