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]

st: marginsplot supertitle?


From   Stas Kolenikov <skolenik@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: marginsplot supertitle?
Date   Fri, 20 Dec 2013 15:37:52 -0600

I am trying to produce a title that I like better with a marginally
complicated (pun intended) -marginsplot-, and its engine sends the
title to a somewhat odd location:

sysuse auto, clear
reg price c.mpg##i.for
margins foreign, at( mpg=20 ) at( _all )
marginsplot, bydimension( _atopt ) title( Here's the title )

The title goes over each of the separate -by- plots, rather than being
the overall title. Yet the Graph Editor believes this is the title as
would have been specified by the -title()- option, or at least that's
my reading of it. How do I tweak -marginsplot- to get the right
overall title in this situation? I don't think the title is needed
here for the subplots at all, as (1) the title gets recycled, and thus
is not informative; (2) I can specify the text I would like to
describe each graph in -bysimension( , labels() )- option.

-- Stas Kolenikov, PhD, PStat (ASA, SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name
*
*   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