Is it possible to make part of the x-axis dashed, with the rest of the x-axis solid? This could be useful if somebody has a break in the years they are plotting, and they want to alert the reader to this break.
This is possible to do with a line in a graph (see https://www.statalist.org/forums/for...ts-of-the-line), but is it also possible to do with the x-axis?
As an example, suppose I make a graph as follows. How can I make the x-axis between 2 and 3 dashed?
This is possible to do with a line in a graph (see https://www.statalist.org/forums/for...ts-of-the-line), but is it also possible to do with the x-axis?
As an example, suppose I make a graph as follows. How can I make the x-axis between 2 and 3 dashed?
Code:
sysuse auto2, clear scatter trunk headroom

Comment