I have dataset genenerated with the statsby-function. Thereafter the dataset has been set as a time series and I have drawn the following graph:

I would like to omit the y-axis gap between 10%-90% in a similiar fashion with "axis ranges" command in SAS. (See for example:
https://blogs.sas.com/content/graphi...earance-macro/
http://support.sas.com/kb/24/909.html (check the results tab))
Now, what I have tried here with...
...obviously does not work, but I hope you get the idea that I want a range from 0 to 10 and 90 to 100, and having a gap between 10 and 100.
Is there any way to do this with xtline or twoway plots in general or should I transform the data in one way or another?
All help is greatly appreciated.
Br,
Samuel
Code:
tsset panelvar timevar xtline var1, overlay /// legend(off) /// ytitle("(%)") xtitle("") /// xlab(minmax) xlabel(1950(10)2005) /// ysc(r(0/10, 90/100))
I would like to omit the y-axis gap between 10%-90% in a similiar fashion with "axis ranges" command in SAS. (See for example:
https://blogs.sas.com/content/graphi...earance-macro/
http://support.sas.com/kb/24/909.html (check the results tab))
Now, what I have tried here with...
Code:
ysc(r(0/10, 90/100))
Is there any way to do this with xtline or twoway plots in general or should I transform the data in one way or another?
All help is greatly appreciated.
Br,
Samuel
Comment