Ignore:
Timestamp:
Jun 13, 2010, 11:32:05 PM (14 years ago)
Author:
sommeria
Message:

bugs corrected for projection objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_col_vec.m

    r19 r102  
    2424if isempty(vec_C) || ~isnumeric(vec_C)
    2525    colorlist=[0 0 1]; %blue 
     26    col_vec=ones(size(vec_C));
    2627    return
    2728end
     
    3839if ~isfield(colcode,'ColorCode') || isempty(colcode.ColorCode)
    3940    colorlist=[0 0 1]; %blue 
     41    col_vec=ones(size(vec_C));
    4042    return
    4143end
     
    5254colcode_out.MinC=minC;
    5355colcode_out.MaxC=maxC;
    54 
    5556if strcmp(colcode.ColorCode,'black')
    5657    colorlist(1,:)=[0 0 0];%black
Note: See TracChangeset for help on using the changeset viewer.