Sas sgplot refline example
REFLINE Statement REG Statement SCATTER Statement Examples: SGPLOT Procedure SGRENDER Procedure SGSCATTER Procedure Common Concepts SAS 9. 4 ODS Graphics: Procedures Guide, Sixth Edition; SAS Viya 3. 2 ODS Graphics: Procedures GuideNov 17, 2011 SGPLOT procedure the basics. Other statements refline, keylegend, xaxis, yaxis, x2axis, y2axis, insets, etc. Statements in groups 14 can be freely mixed and matched with other plots in the same group and with statements in group 5. Plots in groups 1& 2 can be used together. In the distribution graph above, sas sgplot refline example
I have an sgplot that plots 2 series which I need to annotate with a number of lines. I understand how to add standard reflines (see below), BUT. My problem is that I can't work out how to add a refline between 2 distinct points. I. e a vertical dashed line at xaxis value of 50 between yaxis values 0 and 50.
proc sgplot datasashelp. heart; title Cholesterol Distribution by Weight Class ; hbox cholesterol run; title; Program Description Create the box plot. REFLINE Statement REG Statement SCATTER Statement Examples: SGPLOT Procedure Example 1: Grouping a Scatter Plot Example 2: Clustering a Grouped Scatter Plot For information about the SAS Sample Library, see About the SASHELP and the SAS Sample Library. You can also combine the HBAR and HLINE statements to create a horizontal barlinesas sgplot refline example In the previous Graphically Speaking blog for PROC SGMAP, you used PROC GPROJECT so map regions would match OpenStreetMap and Esri background images. You might have noticed I've been trying out SAS ODS Graphics lately, whereas in the past I mainly used SASGraph for my samples. and also great at a personal level (for example, I now have