Is there a way to change the line patters and colors of the output of ROC curves derived from pro logistic?
I get this picture, but I would like to change to gray scale and more distinct line patterns.
I used a template, and I've been able to change the line thickness and the fonts, but I can't seem to change the color of the lines or the line patterns.
It would be great to see the code you are using to generate the ROC curve. In general, you have three options:
1. Use an ODS style. For grayscale and line patterns, use the JOURNAL style:
ods HTML style=Journal; proc logistic data=Sashelp.Class; model Sex = height weight age; roc height; roc weight; roc age; run;
2. Use one of the techniques in the SAS/STAT documentation chapter "Statistical Graphics Using ODS."
The %MODSTYLE macro is often effective.
3. As KSharp suggested, write the data to a SAS data set and use PROC SGPLOT and use the features in that procedure to control the attributes of the curve. If the data is in "long form," use the STYLEATTRS statement. If you use multiple SERIES statement, use the LINEATTRS= option.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.