Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: png Graph Problem


From   dwagner@stata.com (Derek Wagner, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: png Graph Problem
Date   Mon, 26 Sep 2005 15:54:46 -0500

Thomas Speidel wrote:

> I am using the new png_options available when exporting graphs in PNG
> format. However Stata crashes when specifying width>=2400
> Is this a bug? Or is it my version of Stata?
> 
> sysuse auto, clear
> scatter mpg headroom
> graph export test_a.png, width(800) //ok
> graph export test_b.png, width(1200) //ok
> graph export test_c.png, width(2400) //stata crashes

In the third example, do you have your Graph window open?  The -graph
export- command needs for the Graph window to be open when creating 
png or tif files.  Try the third example again while the graph is 
still displayed.

This is a known problem and the -graph export- command will be updated
in the next executable update to ensure that the command won't run 
unless the Graph window is open.

*
*   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