%%%%%%%%%%%%%%%%%%%%% Plotting of Geodesic Segment %%%%%%%%%%%%%%%%%%%%% % % PLOTRAY % Usage: PLOTRAY(seg,d,col) % Inputs: seg = [x y] - x,y are points inside or on the unit circle % d - hyperbolic distance to plot the segment % col - plotting color % % the hyperbolic geodesic arc connecting x and y is constructed % and plotted function re = plotray(seg,d,col) w = georay(seg,d); plot(real(w),imag(w),[col '-']); re = w(length(w)); clear w;