Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: creating a bar chart with overlayed symbols

From   "Data Analytics Corp." <>
Subject   st: creating a bar chart with overlayed symbols
Date   Thu, 20 Jun 2013 20:19:19 -0400


Suppose I have a small data set with four variables:

    att -- product attributes of a consumer product as character strings
    pct -- percent of consumers rating the importance of the attributes
comp1 -- consumer performance rating (in percent) of competitor 1 on each attribute
    comp2 -- like comp1 but for competitor 2

I'd like to create a simple horizontal bar chart of pct by categories att (no problem with this -- I know how to do it), but have symbols overlayed on each bar for comp1 and comp2. The symbols should be a triangle for comp1 and a square for comp2. How do I overlay symbols on each bar? Basically, the bars show how important each attribute is to consumers and the symbols how the competition performs on each attribute. Any help is appreciated.




Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
(V) 609-936-8999
(F) 609-936-3733

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index