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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.