Threshold is a fourth variable (UCL*N), the values of which I want to use as labels at a few given values of N and UCL, along the lines represented by symbol1 and symbol2. The dots are placed appropriately, but the actual pointlabels are missing. This is the note from the log:
NOTE: At least one pointlabel has overwritten a boundary. This resulted in the affected pointlabel(s) being repositioned.
Here is how I defined my dataset if you'd like to try it out. Sorry for the lack of indenting but it wouldn't paste properly:
do N=10 to 120;
do i=1 to 2;
if i=1 then alpha=0.05;
if i=2 then alpha=0.2;
if floor(count)=count then threshold=count;
Proc sort data=set2; by outcome alpha n; Run;
by outcome alpha threshold;
if ^first.threshold then threshold=.;
set set2(in=a rename=(alpha=alp))
set3(in=b where=(threshold^=.) rename=(alpha=alp));
if a and alp=.05 then alpha=1;
if a and alp=.2 then alpha=2;
if b then alpha=3;
And another note....my first attempt was to use the SET2 dataset as-is, but I don't want pointlabels at every single point. Only the ones where threshold changes; hence, set3. Thanks!!!
I don't have those note with the code you have posted
the only one i got is
WARNING: Can not use MODE=RESERVE and POSITION=(INSIDE). Changed to MODE=PROTECT. and it disappear as soon as i specify mode=share in legend
Your program produce no more note or error!
but your problem is related to what the documentation say about pointlabel
"The variables that you specify must be the plot's X and Y variables. Specifying any other variables will cause unexpected labeling. "
I tried with this code and it seems working avoiding explicitly interpol and allowing repeat 11 times following your max value of threshold
the Note, following me, is comming from the number 3 which is printed on the axis
so at the limit of the data area!
j=l is only meaning left and it doesn't matter here
and the functionning of the repeat is issued from some try
as this was working
symbol3 v=dot pointlabel=("#n" c=red position=top); use of a x ou y
and even the following was not working
symbol3 v=dot pointlabel=("#alpha" c=red position=top);
so would i have luck or not?
and i tried the repeat=11 but in fact repeat=2 is working already !
The mystery in inside Sas.