% Plot 2D point with standard ellipse sugr_plot_Point_2D(x,center_type,bound_type,lw,factor) * x = geometric element * center_type = type of plotting the element * bound_type = type of plotting the confidence region * lw = linewidth * factor = magnification factor Wolfgang Förstner 1/2011 wfoerstn@uni-bonn.de sw 9/2016 See also sugr_Point_2D
0001 %% Plot 2D point with standard ellipse 0002 % 0003 % sugr_plot_Point_2D(x,center_type,bound_type,lw,factor) 0004 % 0005 % * x = geometric element 0006 % * center_type = type of plotting the element 0007 % * bound_type = type of plotting the confidence region 0008 % * lw = linewidth 0009 % * factor = magnification factor 0010 % 0011 % Wolfgang Förstner 1/2011 0012 % wfoerstn@uni-bonn.de 0013 % 0014 % sw 9/2016 0015 % 0016 % See also sugr_Point_2D 0017 0018 function sugr_plot_Point_2D(x,center_type,bound_type,lw,factor) 0019 0020 0021 if nargin < 4 0022 lw=2; 0023 end 0024 if nargin < 5 0025 factor=1; 0026 end 0027 0028 if sugr_get_isfinite_Point_2D(x) % only finite elements 0029 Chh = sugr_get_CovM_homogeneous_Vector(x); 0030 C = adjunctMatrix(Chh-x.h*x.h'); 0031 sugr_plot_conic_explicit(C,center_type,bound_type,lw,factor); 0032 0033 end 0034 0035