This curious result, where graph combine doesn't recognize a memory graph
named n, came up in some work and is easily reproduced
clear
sysuse lifeexp
scatter lexp gnppc, name(a)
scatter lexp gnppc, xscale(log) name(n)
graph combine a n
Stata will complain that "n is not a memory graph". This also happens if you
try -graph combine n a-
However, -graph display n- works fine, showing that the graph exists, and
-graph describe n- gives all the details, starting with "n stored in
memory".
The problem happens only if the graph is called n; you can substitute any
single-letter name other than n in the fragment above, for example the more
logical b, and it will work fine.
Obviously graph combine doesn't like graphs named n. What am I missing?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/