Home > General-Functions > SUGR > Point_2D > sugr_plot_Point_2D.m

sugr_plot_Point_2D

PURPOSE ^

% Plot 2D point with standard ellipse

SYNOPSIS ^

function sugr_plot_Point_2D(x,center_type,bound_type,lw,factor)

DESCRIPTION ^

% 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005