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

Re: st: png Graph Problem

From (Derek Wagner, StataCorp)
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:

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