Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
annoporci <annoporci@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: Re: st: Regaining control over axis ranges |

Date |
Fri, 28 Dec 2012 18:24:50 +0800 |

This is not a pressing issue at all, but I'd like to consign here for the record and in case someone is interested and/or knows how to deal with it. A short while ago I asked:

I'm trying to shorten the y axis of a graph.

and Nick suggested the solution of omitting data with the -if- and -inrange- options: sysuse ibm,clear twoway scatter ibm date if inrange(ibm,-1,+1) This solution worked well and satisfied me until I experimented with connected lines instead of scatter points. The -if inrange()- solution omits the data, with the result that connecting the remaining data is misleading, especially in a time series context: sysuse ibm,clear twoway scatter ibm date if inrange(ibm,-1,+1), connect(line) /// similar thing using tsset: tsset date twoway tsline ibm if inrange(ibm,-1,+1)

-- Patrick Toche. * * 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/

**Follow-Ups**:**Re: Re: st: Regaining control over axis ranges***From:*Nick Cox <njcoxstata@gmail.com>

**References**:**st: Regaining control over axis ranges***From:*annoporci <annoporci@gmail.com>

**Re: st: Regaining control over axis ranges***From:*Nick Cox <njcoxstata@gmail.com>

**Re: st: Regaining control over axis ranges***From:*annoporci <annoporci@gmail.com>

**Re: st: Regaining control over axis ranges***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**st: Volatility IRF** - Next by Date:
**st: Re: Merge in Mata** - Previous by thread:
**Re: st: Regaining control over axis ranges** - Next by thread:
**Re: Re: st: Regaining control over axis ranges** - Index(es):