Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: creating a bar chart with overlayed symbols


From   "Data Analytics Corp." <walt@dataanalyticscorp.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: creating a bar chart with overlayed symbols
Date   Thu, 20 Jun 2013 20:19:19 -0400

Hi,

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.

Thanks,

Walt

________________________

Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
walt@dataanalyticscorp.com
www.dataanalyticscorp.com
_____________________________________________________

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index