I need to edit a graph that starts from 0 to start from 10. I know how to change the x axis range to start from 10, but the dots corresponding to x values smaller than 10 are still in my graph.
For example, I want to convert graph 1 below to graph 2, but the problem is that I only have the graph file and do not have the data that created the graph, so I cannot add a condition to the code to create the graph only if x>=10. Is it possible to do it on the graph without having the data?
Code:
sysuse auto, clear replace length=length-142 ***graph 1 twoway (scatter weight length), xlabel(10(10)91) ***graph 2 twoway (scatter weight length) if length>=10, xlabel(10(10)91)
0 Response to Editing graph
Post a Comment