%%%%%%%%%%%%%%%%%%%%% Plotting of Geodesic Segment %%%%%%%%%%%%%%%%%%%%% % % PLOTRAYU % Usage: PLOTRAYU(x,u,d,col) % Inputs: x = basepoint of ray % u = direction of ray, % d - hyperbolic distance to plot the segment % col - plotting color % % Outputs: the hyperbolic geodesic arc from P in the direction u % is constructed for a hyperbolic distance of d % the hyperbolic geodesic arc based at P in the direction u % and plotted function re = plotrayu(x,u,d,col) w = georayu(x,u,d); plot(real(w),imag(w),[col '-']); re = w(length(w)); clear w;