I have a similar problem with WMF files - exporting from sts graph (Stata 11, Windows XP pro 32 bit). Exporting to EMF also worked.
thanks,
Allen
________________________________________
From: [email protected] [[email protected]] On Behalf Of Sergiy Radyakin [[email protected]]
Sent: Monday, August 10, 2009 10:09 AM
To: [email protected]
Subject: st: Problem with WMF export in Stata 11.
Dear Stata users and developers,
there seems to be a problem with the export to WMF in Stata 11, which
causes incorrect positioning of labels.
Here is the trivial code illustrating the problem.
clear
set memory 1m
sysuse auto
local version = subinstr(`"`c(version)'"',".","_",.)
twoway scatter price weight
graph export "auto`version'.emf", replace
graph export "auto`version'.wmf", replace
graph export "auto`version'.png", replace
When run in Stata 10 the WMF output corresponds to EMF output.
When run in Stata 11 the labels in WMF are misplaced. Depending on the
viewer you may or may not see the labels at all (in standard Windows
picture viewer they are not shown, in IrfanView they are faaar away
above the main image).
If deciding which graphic format is better for export in Stata 11, it
seems that EMF is the best candidate: PNG and TIFF currently don't
work with options -width- and -height-, and WMF because of the labels.
Looking forwards to get the first update for Stata 11 :)
Best regards,
Sergiy Radyakin
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/