1. It is all circles but for specific points i want to change to triangles instead of circle. Please find below output graph.
2. Also just before the double headed arrow i want to mention dot count which i have in annotated dataset.
Please tell me which options i need to use in annotated dataset.
ods html path = "C:\Users\xxx\Desktop\test"
gpath = "C:\Users\xxx\Desktop\test"
file = "Test.html";
ods graphics on / imagefmt = gif;
ods graphics on / width=1800px height=1100px;
ods graphics on / reset=index imagename = "Kebab";
data temp;
a=0;b=10; output;
a=10;b=0; output;
run;
proc sgplot data=temp sganno=anno noborder;
scatter x=a y=b ;
refline 1/ axis= x;
title "Performance drivers";
xaxis min=50 max=100 display=all offsetmin=0.3 offsetmax=0.05
type=linear values=(50 to 100 by 5);
yaxis min=1 max=8 display=none offsetmin=0.05 offsetmax=0.05;
run;
scatter x=a y=b / markerattrs=(symbol=triangle) ;
Thank for this. I will try.
Also can you tell me how to update dot count before arrow.
@rakul wrote:
Also can you tell me how to update dot count before arrow.
I don't know what this means.
@rakul wrote:
Thank for this. I will try.
Also can you tell me how to update dot count before arrow.
Since the data and code you show do not come anywhere near to producing a graph like you show then you need to provide example data in the form of a data step.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.