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

From |
"Jann, Ben" <ben.jann@soz.gess.ethz.ch> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: graph combine, asis |

Date |
Wed, 21 Apr 2004 14:07:01 +0200 |

Naji, thank's for the tip. There are some issues, though: - The size of fonts is still being modified. This can be fixed by specifying -graph combine ..., ... iscale(1)- - Graphs can not be larger than 20in x 20in. This does not really matter, though, as long as the proportion between xsize and ysize remains constant (i.e., instead of, e.g., size 30x20 one can just specify size 15x10). - The main problem is that the method only works in the special case with only one column (and overall xsize < ysize) or one row (and overall ysize < xsize) of graphs. Option -iscale()- may be used to rescale fonts/symbols (e.g., in the case of an array of 2x3 graphs [and overall ysize < xsize] specify -iscale(.5)-). However, there are a lot of other sizes depending on min(overall xsize, overall ysize), which cannot be influenced by -iscale-. Thus, the single graphs will look differently. After a lot of playing around, I could not find a satisfying solution. I guess, the only way to solve the problem would be to change the reference for the determination of relative sizes to min(xsize,ysize) of the embedded graphs instead of the combined graph. This, however, does not seem to be possible. ben > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Naji Nassar (MIReS) > Sent: Tuesday, April 20, 2004 9:37 PM > To: statalist@hsphsun2.harvard.edu > Subject: st: RE: graph combine, asis > > > Ben, > > I don't know if the following will help, but here what I used to do > - For each single graph, I just fix x&y size (4x4) > - For the combine graph, I just fix the overall x&y size as > the sum of x&y size > > twoway (histogram var1,...) (scatter btta var1, ...), > ysize(4) xsize(4) > graph copy hoist, replace > qbeta var1, ... ysize(4) xsize(4) > graph copy bsist, replace > graph combine hoist bsist, xsize(8) ysize(4) > You'll get a vector of 1x2 graphs without any modification > > Best > > -----Message d'origine----- > De : owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu]De la part de Jann, Ben > Envoyé : mardi 20 avril 2004 20:59 > À : statalist@hsphsun2.harvard.edu > Objet : st: graph combine, asis > > > Sometimes, I wish there was a "light" version of > -graph combine-. That is, a command to array several > graphs just like -graph combine- does, but without > reinterpreting the single graphs. The only thing the > command should do is to scale the graphs and array > them into a new graph (i.e., the single graphs should > look exactly the same as before, just smaller). > > Does anyone have an idea how such a command (or an > "asis" option to -graph combine-) could be realized? > Or is this totally against the way how Stata treats > graphs? > > Thanks for any hints, > > ben > * * 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/

- Prev by Date:
**RE: st: RE: -finddup- for panel?** - Next by Date:
**st: ln1=0 for missing values** - Previous by thread:
**Re: st: -finddup- for panel?Thanks** - Next by thread:
**st: RE: RE: RE: graph combine, asis** - Index(es):

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