[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Axis's limits when one var has missing when other is max
For what it's worth, here's a little gripe about -graph-. I wish that
Stata determined the extent of the axes by the points that will be
plotted, rather than conditioning on the maxima and minima of the two
variables. It's a tiny complaint, but I post for two reasons:
- Other users may be puzzled by this feature.
- The response Stata Technical Support gave me was that "it's just the
way Stata graph commands were written."
Maybe there are arguments in favor of the current functionality, and
maybe there's a "change is bad" argument, but it's easy to increase the
extent of an axis by other means. It also seems as if it would simple
to change Stata's code to implement the functionality I'm looking for,
although I could be very wrong about that.
Here's an illustration of the issue.
input x y
scatter y x // The x-axis maximum is 100
scatter y x if y<. & x<. // The x-axis maximum is 4 (preferred)
* For searches and help try: