Hello !
Here is my issue : i need to perform a ACM with a proc corresp. On the correlation plot, SAS automaticcaly display both the variables AND the observations. I'd like too chose to display only the variables, or only some of them, or only certain observations. Is there a way to do this ?
Thank you by advance for your reply 🙂
Generic response for creating graphs with different appearance than direct options listed:
Use ODS OUTPUT to direct the data used by the graph to an output data set.
Modify if needed
Plot with SGPLOT.
The ODS output would look something like:
ODS output plotname = plotdataset;
where plotname is the name of plot and plotdataset is the name of the data set you want to create. This can go either immediately before the Procedure call or as part of the procedure (before run);
Since each of these plot data sets tend to look a bit different then the modify with a data set step is often needed to get something you need.
I don't think so.
Generic response for creating graphs with different appearance than direct options listed:
Use ODS OUTPUT to direct the data used by the graph to an output data set.
Modify if needed
Plot with SGPLOT.
The ODS output would look something like:
ODS output plotname = plotdataset;
where plotname is the name of plot and plotdataset is the name of the data set you want to create. This can go either immediately before the Procedure call or as part of the procedure (before run);
Since each of these plot data sets tend to look a bit different then the modify with a data set step is often needed to get something you need.
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.