Bookmark and Share

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

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

Re: st: marginsplot supertitle?

From   Nick Winter <>
Subject   Re: st: marginsplot supertitle?
Date   Fri, 20 Dec 2013 18:18:18 -0500

marginsplot, bydimension( _atopt ) byopt(title( Here's the title ))

The -byopts- option is allowed, but undocumented. (It is mentioned as such within -marginsplot.ado-)

Since undocumented, I suppose it might disappear, but for now it works.

Nick Winter

On 12/20/2013 4:37 PM, Stas Kolenikov wrote:
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
*   For searches and help try:

*   For searches and help try:

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