Commit d218404d authored by Jean-Yves TINEVEZ's avatar Jean-Yves TINEVEZ
Browse files

Plot 3rd euler angle in range 0 - 180.

parent 6dc23cc8
......@@ -4,6 +4,10 @@ function hts = add_plot_euler_gamma( obj, ax )
epicells = obj.epicells;
angles = vertcat( epicells.euler_angles );
gammas = rad2deg( angles( :, 3 ) );
neg_gammas = gammas < 0;
gammas( neg_gammas ) = 180 + gammas( neg_gammas );
hts = add_plot_variable( obj, gammas, ax );
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment