function a = Draw3LineGraph(Angle1, Y1, Angle2, Y2, Angle3, Y3,...
 				yString, graphTitle, yStringFlag, numberLines)

if numberLines == 1
	plot( 	Angle1, Y1, 'r');

elseif numberLines == 2
	plot( 	Angle1, Y1, 'r', ...
			Angle2, Y2, 'm' );

else % numberLines == 3
	plot( 	Angle1, Y1, 'r', ...
			Angle2, Y2, 'm', ...
			Angle3, Y3, 'b' );
			
end; % if numberLines == 1, elseif...
		
v = axis;
axis( [-80 80 v(3) v(4)] );

title(graphTitle);
h = get(gca, 'Title');
set( h, 'Color', [0,0,0]);

set( gca, 'XColor', [0,0,0]);
set( gca, 'XTick', [-80; -40; 0; 40; 80]);
set( gca, 'XLabel', text(0,0,'View Zenith (degrees)') );
set( gca, 'XColor', [0,0,0]);

set( gca, 'YColor', [0,0,0]);
if yStringFlag == 1
	set( gca, 'YLabel', text(0,0,yString) );
	h = get(gca, 'YLabel');
	set( h, 'Color', [0,0,0]);
	set( h, 'EraseMode', 'normal');
	end;
set( gca, 'YColor', [0,0,0]);
