Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Problem with WMF export in Stata 11.


From   Allen Buxton <ABUXTON@childrensoncologygroup.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Problem with WMF export in Stata 11.
Date   Mon, 10 Aug 2009 11:34:20 -0700

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: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sergiy Radyakin [serjradyakin@gmail.com]
Sent: Monday, August 10, 2009 10:09 AM
To: statalist@hsphsun2.harvard.edu
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/



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