Graphically Speaking
Data Visualization with a focus on SAS ODS GraphicsPreviously, I have written articles on how we could display more subject response data along with the traditional WaterFall graph showing the best "Change from Baseline". This is in response to the desire to see data like treatment duration for each subject in the same graph. Otherwise, investigators have to
The TEXT plot was introduced with SAS 9.4M2 to facilitate placement of text strings in a graph. This replaces the MARKERCHAR feature of the SCATTER plot statement, which is still available, but it is better to use TEXT plot in most cases. The syntax is: text x=column y=column text=column </
Recently a colleague was requested to create a bar chart showing the performance of students in a school compared to county and state wide schools. The solution using SGPLOT was simple as shown below. /*--Create data--*/ data school; input Year Group $ Value; format Value percent5.1; datalines;
By using a format, you can change the tick values and create values that range from 100 to 50 to 100 to display the probable outcome of a sporting event.
The STYLEATTRS statement in PROC SGPLOT enables you to override colors, markers, line patterns, fill patterns, and axis break patterns in ODS styles, without requiring you to change the ODS style template.
You can use SG annotation to display graphs inside of other graphs.