SETMARKERS Set class markers and colors Reset markers to default DATA=SETMARKERS(DATA) DATA=SETMARKERS(DATA,MAP) LAB=SETMARKERS(LAB,MAP) DATA=SETMARKERS(DATA,CLASSNAME,SPEC) INPUT DATA SDDATA set LAB SDLAB labels MAP Cell array with marker definitions CLASSNAME Class name SPEC marker specification OUTPUT DATA Updated data set DESCRIPTION SETMARKERS sets the marker strings stored in default label list of the DATA object (or LAB.list). Without extra argument, SETMARKERS resets the default markers (defined in DEFAULT_MARKERS function). MAP is a cell array with marker strings or RGB color vectors. SPEC is a marker string ('rx') or RGB color vector ([1 0 0]) RGB colors are used, if provided. EXAMPLES a=setmarkers(a) % reset to default a=setmarkers(a,{'r*','ms','ko'}) % set all three markers at once a=setmarkers(a,'stone','m*') % set only marker of 'stone' class a=setmarkers(a,'stone',[1 0 1]) % set only 'stone' marker color a=setmarkers(a,{[0.7 0.3 1],[1 0 1],[0 0 1]}) % all marker colors
setmarkers
is referenced in examples: