Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

1.13 Step Plot

A series plot is a graphical display of two quantitative variables where the points are connected by a combination of horizontal and vertical lines. The points are optionally displayed on the lines. The function is like a set of stairs which has horizontal landings and vertical risers but no diagonal lines. You can choose to have the vertical segment rise from a point, to a point, or in the middle between points. The following steps produce a step plot:

proc means data=sashelp.class noprint nway;
   var weight;
   class height;
   output out=class mean=weight lclm=lower uclm=upper;
   label weight = 'Mean Weight';
run;

proc template;
   define statgraph step;
      begingraph;
         entrytitle 'Average Weight by Height';
         layout overlay;
            stepplot x=height y=weight / display=(markers)
                                         markerattrs=(size=3px);
         endlayout;
      endgraph;
   end;
run;

proc sgrender data=class template=step;
run;


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint