Proc Print Run: Orion Orion - Sales Orion - Sales Job - Title Job - Title Contains

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

libname orion

'D:\SAS_LIANA\data';
proc print
data=orion.sales;
run;
title 'Number of Employees
by Job Title';
proc gchart
data=orion.sales;
vbar Job_Title;
where Job_Title contains
'Rep';
run;

hbar gender;
run;

pie country;
run;
vbar3d Job_Title;
where Job_Title contains
'Rep';
title 'Number of Employees
by Job Title';
run;

pie3d Job_Title;
where Job_Title contains
'Rep';
title 'Number of Employees
by Job Title';
run;

donut Job_Title;
title 'Number of Employees
by Job Title';
run;
block Job_Title;
title 'Number of Employees
by Job Title';
run;

libname ia
'D:\SAS_LIANA\data';
proc print
data=ia.flight114;
run;

proc gplot data =


ia.flight114;
plot Boarded*Date;
run;
proc gplot data =
ia.flight114;
where date between
'02mar2001'd and
'08mar2001'd;
plot Boarded*Date ;
title 'TOTAL PASSENGERS FOR
FLIGHT 114';
title2 'BETWEEN 02MAR2001
AND 08MAR2001';
run;

plot Boarded*Date;
symbol value = star i=join
;
run;

plot Boarded*Date;
symbol value = star i=join
color=green width = 2 ;
run;
plot Boarded*Date / vaxis =
100 to 200 by 25

ctext=blue;
run;

plot Boarded*Date / vaxis =


100 to 200 by 25

ctext=purple;
label Boarded= 'Passenger
Boarded'
Date = 'Departure
Date';
run;

proc gplot data =


ia.flight114;
where date between
'02mar2001'd and
'08mar2001'd;
plot Boarded*Date ;
title color = red 'TOTAL
PASSENGERS FOR FLIGHT 114';
title2 font = brush color =
yellow 'BETWEEN 02MAR2001
AND 08MAR2001';
footnote height = 3 "IA's
Gross Revenue by Region";
footnote2 height = 3 cm
font = castellar "lallala";
footnote3 height = 3 cm
font = cambria "trololol";

run;

You might also like