Naturally. For example
gen mylabel = year if !mod(year, 10)
or
gen mylabel = year if mod(year, 10) == 0
You'd be adding a blank label for most years, but that looks a lot
like no label.
Nick
On Sat, Jan 12, 2013 at 9:49 AM, Vlad Tarko <vladtarko@gmail.com> wrote:
> I was wondering if it's possible to add labels only to some markers in a
> connected graph. My labels are the years, and I'd prefer to have the labels
> either only for the first and last year or only for a few years (e.g. once
> every ten years). Placing labels for all years is not very useful because
> there's a great deal of overlap between the labels. Thanks!
*
* 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/