Bookmark and Share

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


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

Re: st: creating a bar chart with overlayed symbols


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: creating a bar chart with overlayed symbols
Date   Thu, 20 Jun 2013 20:47:25 -0400

Walt, can you explain what is the advantage of your desired chart over
something more traditional like below? Also from what you describe
star/spider charts might be of relevance.:

http://upload.wikimedia.org/wikipedia/commons/0/09/MER_Star_Plot.gif
******************************
sysuse auto, clear
keep if rep78>2
graph bar price, over(foreign) over(rep78) asyvar
******************************
An example of what you want to do would be helpful (paste a link to
image, not an image).

Best, Sergiy Radyakin

On Thu, Jun 20, 2013 at 8:19 PM, Data Analytics Corp.
<[email protected]> wrote:
> 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
> [email protected]
> 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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index