I am attempting to plot a fourth variable on a plot using the pointlabel statement. It works essentially, but I cannot figure out why the lines are interconnecting between the different values of my fourth variable and why there are multiple labels around a single data point. Below is the code I used to generate the attached graph. I appreciate any help or insight anyone can provide - Thanks!
proc sort data=repeatedall;
by year;
run;
goptions reset=all;
symbol v=dot i=join pointlabel= ('#cen_reg') ;
axis1 label = ('predicted') order = (0 to 1 by 0.1);
legend1 position=(inside top right) down=3 label=none;
proc gplot data=repeatedall;
title 'NIS All Predicted';
plot predicted*year=recom_value/ vaxis=axis1; * haxis=axis2 legend=legend1;
format recom_value recf.;
run;
quit;ut th