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

st: Re: Graph syntax


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: Graph syntax
Date   Sun, 25 Jul 2004 12:20:28 -0700 (PDT)

Martyn,

Use a forward slash when you indicate the path.

. graph export c:/Students/`x'.wmf,replace

Friedrich Huebler

--- Martyn Sherriff <[email protected]> wrote:
> I want to save all of the 12 graphs generated by this code. They
> all display
> correctly on screen, but only the last graph is saved. Presumably I
> am
> over-writing the existing plots. What is the correct syntax to
> achieve this.
> Thanks,
> Martyn
> 
> set more off
> foreach x in lbr lbl llr lll llo lro rbr rbl rlr rll rlo rro{
> graph dot (mean) `x' (min) min= `x' (max) max= `x' if system==1,
> over(implant) mark(1, msymbol(circle_hollow)) mark(2,
> msymbol(circle_hollow)) mark(3, msymbol(circle_hollow))
> linetype(dot) dots(
> msymbol(x) ) ytitle(Distance) title(Non Welded)
> graph export c:\Students\`x'.wmf,replace
> }
> set more on



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index