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

From |
Finne Håkon <Hakon.Finne@sintef.no> |

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

Subject |
st: RE: Re: graph size |

Date |
Tue, 15 Oct 2002 09:35:03 +0200 |

I sincerely apologize for indicating a non-reproducable difference in behavior in Stata between two executables and calling one of them a bug. I took the problem description from memory because I could not find the original e-mail exchanges with Stata tech support on the matter. I have now recovered the original exchange and it turns out that the original problem involved seemingly different behavior in printing the graphs and in translating them to a Windows clipboard format. However, Alan's explanation adds a nuance to the one I originally got, invalidating my original test procedure. But it would still be nice to be able to display a (single) saved graph in the graph window applying the size stored with the graph: -graph using x, displayassaved- or something like that. --Håkon hakon.finne@sintef.no > -----Original Message----- > From: ariley@stata.com [mailto:ariley@stata.com] > Sent: 14. oktober 2002 20:24 > To: statalist@hsphsun2.harvard.edu > Subject: st: Re: graph size > > > Hakon Finne (Hakon.Finne@sintef.no) wrote > > -graph using x.gph- does not display the graph with the aspect ratio > > (xsize() ysize()) with which the x.gph file was produced, > but with the 6x4 > > default size of Stata. I am using Intercooled Stata 7 for > Windows born 11 > > Jun 2002. This bug has entered after the initial release of Stata 7. > > However, running the initial release on graphs produced > with more recent > > releases produces an error message to the effect that the > graph format has > > changed and a newer version of Stata is required to display > the graph. > > I tested going back to the first executable for Stata 7, born > 15 Dec 2000, > and the behavior of -graph using- is the same as it is now. > > The reason for the behavior is that -graph using- must initialize > a graphics context inside Stata and create the Graph window before > the graph is actually read in. This, to Stata, -graph using- > is just another -graph- command, and the initialization call > which sets the size of the Graph window is made before the .gph > file is read. > > It could be argued that -graph using- should be 'smart' and look ahead > at the graph it is about to read in to find the size in it. However, > it is unclear what should happen if multiple graphs are specified > with -graph using-. > > The size for -graph using-, like all other -graph- commands, must > currently be set either with the -xsize()- and -ysize()- options > on the -graph- command. If these options are not specified, > the default size in the Graph preferences will be used. > > > --Alan > (ariley@stata.com) > * > * 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/ > * * 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: loop** - Next by Date:
**RE: st: loop** - Previous by thread:
**st: loop** - Next by thread:
**st: New version of -dsconcat- on SSC** - Index(es):

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