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

From |
Friedrich Huebler <fhuebler@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: graphics complaints (Windows too) |

Date |
Thu, 19 Nov 2009 11:03:15 -0500 |

Dave wrote about Stata on OS X but I have a similar observation about Stata on Windows, specifically concerning -twoway function-. A y=x line drawn with -twoway function- is not as straight as a line drawn with -twoway scatter, connect-. The difference can be illustrated with the following commands. . clear . set obs 2 . gen x = . . replace x = 0 in 1 . replace x = 100 in 2 . gen y = . . replace y = 0 in 1 . replace y = 100 in 2 . twoway (scatter y x, connect(l) clwidth(thin)) (function y=x+1, range(0 100) lwidth(thin)), aspect(1) The -function- line is uneven and can indeed be described as "shocked with electricity", to use Dave's words. Is it possible to draw a -function- line as straight as a -scatter, connect- line? Friedrich On Wed, Nov 18, 2009 at 3:57 PM, Airey, David C <david.airey@vanderbilt.edu> wrote: > . sysuse auto > (1978 Automobile Data) > > . scatter weight length, ms(oh) // small o > > never renders well on my system, and copying the graph preserves the oblong symbols > > . scatter weight length, ms(Oh) // large O > > doesn't show the complaint > > I sent you off list the horrible rendering of a graph twoway function (y=x). Looked like someone shocked it with electricity. > > -Dave * * 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/

**Follow-Ups**:**RE: st: graphics complaints (Windows too)***From:*"G Livesey" <glivesey@inlogic.co.uk>

- Prev by Date:
**st: RE: problems on the string functions** - Next by Date:
**Re: st: What is good programming practice in Stata?** - Previous by thread:
**st: re: problems on the string functions** - Next by thread:
**RE: st: graphics complaints (Windows too)** - Index(es):

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