blood_graph

blood_graph - axis2 label ='WBC length = 20 order =(4000 to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
*Reset all options and global statements - did so that the basic plot would; * not be affected by anything did before; * goptions reset=all border ftext=swiss gunit=cm htext=0.6 htitle=0.8; g title1 'STAT 6360'; title2 'RBC vs. WBC content - basic plot'; proc gplot data=sasdata.blood; plot RBC*WBC; run; r *A MUCH better plot!; title2 'RBC vs. WBC content - better plot'; proc gplot data=sasdata.blood; plot RBC*WBC/ vaxis=axis1 haxis=axis2 grid; axis1 label = (a=90 'RBC') length = 10 order = (1 to 10 by 1) minor = (number=5); axis2 label = ('WBC') length = 20 order = (4000 to 11000 by 1000) minor = (number=5); symbol1 v=dot cv=red h=0.2; run; r *Change font size to get everything on the graph; goptions htext=0.45 htitle=0.5; g title2 'RBC vs. WBC content - plot by BloodType'; proc gplot data=sasdata.blood; plot RBC*WBC=BloodType / vaxis=axis1 haxis=axis2 grid legend=legend1; axis1 label = (a=90 'RBC') length = 10 order = (1 to 10 by 1) minor = (number=5);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: axis2 label = ('WBC') length = 20 order = (4000 to 11000 by 1000) minor = (number=5); symbol1 v=dot cv=red h=0.3; symbol2 v=diamond cv=blue h=0.4; symbol3 v=square cv=green h=0.5; symbol4 v=triangle cv=purple h=0.6; legend1 label = ('Blood Type') down = 1 across = 4 position = (bottom center outside) shape = symbol(0.0001,0.4); run; r *******************************************************; *Find side-by-side box plots using PROC BOXPLOT *; *******************************************************; *Reset all options and global statements; goptions reset=all border ftext=swiss gunit=cm htext=0.5 htitle=0.55; g title1 'STAT 6360'; title2 'Side-by-side box plots of blood cells variables'; proc sort data=SASdata.blood out=blood_sort; by gender; run; r proc boxplot data=blood_sort; plot (RBC WBC)*gender / boxstyle=schematic cboxfill=yellow outbox=box; run; r...
View Full Document

This note was uploaded on 06/06/2011 for the course STAT 4360 taught by Professor Park during the Spring '11 term at UGA.

Page1 / 2

blood_graph - axis2 label ='WBC length = 20 order =(4000 to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online