[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to append one graph to another,

Subject   st: How to append one graph to another,
Date   Fri, 28 Sep 2007 17:58:18 -0300 (BRT)

> I want to put 40 graphs, one below the other, into a Word document.  I
can  > do this by drawing a graph, then selecting, copying and pasting
it into     > Word, and then repeating this 39 times.  But there must (I
hope) be a         > quicker way of doing this.  Suggestions please!

> Thanks.

> Steve

Dear Steve,

Yes, there is options depending on the type of graph you are working with.

For example, suppose you are interested in scatter plots (var 1 vs var2)
and have 40 groups (var3), so that your aim is to obtain a scatter plot
for each of the 40 groups, but all in only one collum (one below the

You can type:

scatter var1 var2, by(var3, cols(1))

This will be also valid for other types of graphs( pies, histograms, among

If you are working with a program that does not have the option -by-, your
task will not be straighforward. However, you can use -graph combine-:
findit graph combine (too see further information).


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index