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: bar graph axis color- frustrated


From   "Airey, David C" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: bar graph axis color- frustrated
Date   Fri, 11 Jun 2010 08:54:10 -0500

.

Fred,

I made figure 1 in a recent publication (the journal is open access) that sounds similar to your plot request.

<http://cms.frontiersin.org/content/10.3389/neuro.23/001.2010/html/fnins-04-026_HTML/images/article/image_n/fnins-04-026-g001.gif>

<http://frontiersin.org/neuroscience/neuropharmacology/paper/10.3389/neuro.23/001.2010/>

Is that like what you are after?

Since this is still about graph frustration, I have not started a new thread.

-Dave

> I hope I can explain it it. First, let me say that I think I can
> figure out ways to do this by reorganizing the data. But the time
> involved in doing this is (at least for me) too long.
> 
> Consider the example below:
> 
> http://screencast.com/t/NjUwNmE3YTMt
> 
> 
> This is a special case of a general problem. Special because in this
> instance it is a results data set that was made by copying results
> from Stata to a new data set.
> 
> In this instance, each named line represents a different variable. The
> code for one side of the graph is:
> 
>    use raoadotplotdata, clear
>    graph dot (asis) age - all ,ascat ylab(.5 [.1] 1) exclude0
> schem(bw) ytit(Concordance coefficient) xsize(4) ysize(5.3)
> by(type,note(""))
> 
> Now, what I would really like to be able to do is to not use "by" and
> have both types of symbols (RA and OA) be displayed on each line. If I
> simply do over(), the groups are placed far apart.
> 
> So, in general, I would like a simple way to manage multiple variables
> and to display the by group or over group results on the same line or
> immediately below the same line.
> 
> I have looked at stripplot, the manual, and Michael's book to no avail.
> 
> It is usually that when I come to conclusions like this there is a
> simple solution that I have overlooked. I hope it is the case now.
> 
> Thanks.
> 
> Fred




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


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