add_plot_euler_gamma.m 391 Bytes
Newer Older
1
function hts = add_plot_euler_gamma( obj, ax )
2
3
%ADD_PLOT_EULER_GAMMA Add the tissue plot colored with the 3rd euler angle.
    
4
    epicells = obj.epicells;
5
6
    angles = vertcat( epicells.euler_angles );
    gammas = rad2deg( angles( :, 3 ) );
7
8
9
10
    
    neg_gammas = gammas < 0;
    gammas( neg_gammas ) = 180 + gammas( neg_gammas );
    
11
    hts = add_plot_variable( obj, gammas, ax );
12
13
end