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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Twoway-graph appears different in version 11 and version 12


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Twoway-graph appears different in version 11 and version 12
Date   Tue, 3 Jul 2012 09:19:12 -0500

I don't know why the position() suboption is being carried over from
legend title to the graph title, but you can reproduce this using the
auto data set:

sysuse auto
scatter price mpg || scatter weight mpg, legend(title("Title:  ",
position(9))) title(Title)

-box- and -fcolor- suboptions do not carry over to the graph title:

scatter price mpg || scatter weight mpg, legend(title("Title:  ",
position(9) fcolor(lime) box )) title(Title)

Of course, you can correct this using a position suboption in the
graph title statement.

Scott

On Tue, Jul 3, 2012 at 8:31 AM, Dirk Enzmann
<dirk.enzmann@uni-hamburg.de> wrote:
> Follow up concerning the problem of graphs produced by Stata 11.2 vs. 12.1
> (see:
> http://www.hsph.harvard.edu/cgi-bin/lwgate/STATALIST/archives/statalist.1207/date/article-47.html
> ):
>
> For those, who (understandably) don't dare to run the Stata syntax which
> will copy two .gph-files via the internet into their temp directory because
> they fear to catch ugly things like a virus, trojan horses etc. - below a
> link to .pdf-versions of the two graphs created by using exactly the same
> syntax.
>
> Graph 1 (produced by Stata 11):
> http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/L11_version11.pdf
>
> Graph 2 (produced by Stata 12):
> http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/L11_version12.pdf
>
> Any idea what is wrong?
>
>
> Dirk
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index