SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 38076: Create a spaghetti plot with the GPLOT procedure

DetailsCodeResultsAboutRate It

The sample code on the Full Code tab draws a "spaghetti plot" that contains one plot line per patient over multiple visits. The color of the plot line indicates the treatment group. SYMBOL statements are generated dynamically based on the value of the treatment group for each line. A FOOTNOTE statement is defined to simulate a legend for the treatment groups.




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.