Hello,

I am currently working on time series analysis, trying to identify the effect of an increase in income on consumption.
Therefore I have quarterly data from 1990 to 2019.
To get a better overview of the development I want to graph the variables consumption and income as percentage deviations from trend over time.
However I only get this outcome:

I use the command:

[twoway (tsline d.y) (tsline d.c)]

Does anybody know how I need to change the code in order to get percentage deviations from trend?

Thank you very much in advance!