Statalist The Stata Listserver


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

RE: st: RE: Creating HTML from SMCL log file including graphics - revised log2html.ado


From   "David Harrison" <david.harrison@icnarc.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Creating HTML from SMCL log file including graphics - revised log2html.ado
Date   Fri, 19 May 2006 17:18:14 +0100

This is not my experience...

. graph export temp, as(png)
(file temp written in PNG format)

. dir temp*
   9.7k   5/19/06 17:14  temp

. graph export temp.png
(file temp.png written in PNG format)

. dir temp*
   9.7k   5/19/06 17:14  temp              
   9.7k   5/19/06 17:17  temp.png          

Not all platforms require extensions, remember... Although I am using
windows, which as a rule does.

David


David Elliott wrote:

2) You said: "True, but the file produced does not have an extension, so
adding one in the <img> tag will not help."

Actually, the .png extension is added to the file regardless of what the
confirmation message said - try it yourself, you'll see.
Personally, I think this is a deficiency in the graph export command i
it should state the filename and extension.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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