Hi @djrisks Thanks for sharing this example with me. I can confirm that it works fine when used in proc template (expressions are allowed there). It won't work inside proc sgplot as expressions are not available in series command within this procedure. Unfortunately this approach is not solving my issue. It will work when both parts of data are linked by one row where the cut-off goes. Please have a look at this example set of data which I am dealing with: data example01;
infile datalines delimiter=',';
input id $ x y;
datalines;
1111111,-2.72689938398357,-20.7865168539325
1111111,-2.49144421629021,-13.4831460674157
1111111,-2.00958247775496,-21.9101123595505
1111111,-1.49486652977412,-16.5730337078651
1111111,-1.01300479123887,-5.89887640449438
1111111,-0.00273785078713,0
1111111,0.2819986310746,-12.3595505617977
1111111,0.60780287474332,-16.0112359550561
1111111,0.93634496919917,-20.2247191011235
1111111,1.24024640657084,-21.067415730337
1111111,1.5523613963039,-23.314606741573
1111111,1.8425735797399,-20.7865168539325
1111111,2.33264887063655,-20.2247191011235
1111111, 2.77891854893908,-20.2247191011235
;
run; For x >= 0 I should draw solid line and for x < 0 dash line but as you can see "0" is not a cutoff point. Is there any other approach to solve this besides adding last row before cutoff data as a first row of the post cutoff data? Best Regards, Michał
... View more