Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

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

From |
Maarten Buis <[email protected]> |

To |
[email protected] |

Subject |
Re: st: connecting the points in the graph |

Date |
Fri, 24 Jan 2014 13:13:43 +0100 |

On Fri, Jan 24, 2014 at 12:15 PM, PAPANIKOLAOU P. wrote: > How best could I produce a continuous line by linking the points of the > OR variable, making it look impressive? > > input str5 month OR min95 max95 > > month OR min95 max95 > J 1.03 0.93 1.15 > F 1.02 0.94 1.11 > M 1.08 1.00 1.16 > A 1.04 0.97 1.12 > MY 1.08 1.01 1.16 > JN 1.00 0.93 1.08 > JL 1.02 0.94 1.09 > AG 0.95 0.88 1.03 > S 0.99 0.91 1.06 > O 0.97 0.90 1.05 > N 0.95 0.87 1.02 > D 0.96 0.90 1.04 > end > > sencode month, replace > > eclplot OR min95 max95 month, xlabel(1 "J" 2 "F" 3 "M" 4 "A" 5 "MY" 6 > "JN" 7 "JL" 8 "AG" 9 "S" 10 "O" 11 "N" 12 "D") This refers to two user written commands. Per the Statalist FAQ you need to tell us where you got this from. The reason is that there are usually multiple version floating around in cyberspace, and if we are talking about different versions we could easily fail to understand one another. I will assume you got these from SSC. In that case, you can try something like this: eclplot OR min95 max95 month, /// eplottype(connected) rplottype(rarea) /// ciopts(astyle(ci)) /// xlabel(1 "J" 2 "F" 3 "M" 4 "A" 5 "MY" 6 /// "JN" 7 "JL" 8 "AG" 9 "S" 10 "O" 11 "N" 12 "D") Hope this helps, Maarten --------------------------------- Maarten L. Buis WZB Reichpietschufer 50 10785 Berlin Germany http://www.maartenbuis.nl --------------------------------- * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: connecting the points in the graph***From:*"PAPANIKOLAOU P." <[email protected]>

- Prev by Date:
**Re: st: RE: RE: export graphs to pdfs with option to append pages?** - Next by Date:
**RE: st: how to generate many dofiles in a program?** - Previous by thread:
**st: connecting the points in the graph** - Next by thread:
**st: datetime conversion from R to Stata** - Index(es):