Hi all,

I am having trouble with scaling the Y values for each individual graph. The data is in long-form, and this was the only way I found to graph all the values for each type of record over time.; total are the values, and record are what the values represent (ie. HDI, GDP ...etc.). Attached is the graph I get from the code below. As you can see the scales are off and I would like to have each separate graph scaled properly with its own y-scale on its axis. This is so that we can see the trends for certain values of record like GDP over time more clearly. Also is there a way to sort the by() function in a way where I can select certain values for record which are graphed?

Thank you all for your time.



Code:
line total year, by(record)
Array