Statalist


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

Re: st: problem with .png graph export in Stata 10


From   "Friedrich Huebler" <fhuebler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: problem with .png graph export in Stata 10
Date   Thu, 25 Oct 2007 11:16:40 -0400

Michael,

I have Stata/SE 10 for Windows and cannot reproduce the behavior you observed.

sysuse auto
scatter mpg weight
graph export test.png, width(1650) height(1200)
graph export test2.png, width(600) height(400)

Is your colleague's Stata fully updated? The initial release of Stata
10 had a bug in export to PNG format when the width or height options
were specified. This bug was fixed with the update of July 25.

Friedrich

On 10/25/07, Michael Blasnik <michael.blasnik@verizon.net> wrote:
> I have found that, in Stata 10/SE for Windows, graphs exported as .png files
> contain a small copy of the graph located in the upper left corner of a large
> black rectangle (1650 x 1200 pixels).  This behavior does not occur in Stata 9.
> Has anyone else noticed this?  Is there some setting to correct this or is it a
> bug?
>
> Michael Blasnik
> michael.blasnik@verizon.net
>
> p.s. The graphs were sent to me by a colleague running a do file I sent to them.
> I don't have a copy of Stata 10 myself to reproduce the problem, but I have the
> graphic files.
*
*   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/



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