Hi. I have the following code to make a scatter plot :
ods graphics on;
PROC corr DATA = corn nomiss
plots = scatter (nvar = 2 alpha = .4 .5);
VAR yield rainfall;
RUN;
I works find but I need to use character "#" as indicator. How can I do that?
Thanks!
@Sara73737 wrote:
Thanks for the answer. I'll try that but I am new to SAS so it takes longer for me to figure out how to do it!
I need to make the points showing as hashtag in the scatter plot.
Ok, I think my answer holds, changing the characteristics of a plot from a procedure ismore difficult.
You can set the marker to "#" in the markerattrs of your SGPLOT or SGSCATTER.
Use the MARKERATTRS to change the symbols:
If you want control over the plot, you're better off using SGPLOT.
Otherwise to modify the plots you need to muck around with the templates.
It's also not clear what you're actually asking. Please elaborate on your question.
Thanks for the answer. I'll try that but I am new to SAS so it takes longer for me to figure out how to do it!
I need to make the points showing as hashtag in the scatter plot.
@Sara73737 wrote:
Thanks for the answer. I'll try that but I am new to SAS so it takes longer for me to figure out how to do it!
I need to make the points showing as hashtag in the scatter plot.
Ok, I think my answer holds, changing the characteristics of a plot from a procedure ismore difficult.
You can set the marker to "#" in the markerattrs of your SGPLOT or SGSCATTER.
Use the MARKERATTRS to change the symbols:
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.