Skip to content
Snippets Groups Projects
Commit d218404d authored by Jean-Yves TINEVEZ's avatar Jean-Yves TINEVEZ
Browse files

Plot 3rd euler angle in range 0 - 180.

parent 6dc23cc8
No related branches found
No related tags found
1 merge request!9Rework the whole code for the upcoming publication.
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment