Skip to content
Snippets Groups Projects
Verified Commit 49c00c44 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

chore(plots): improve figures a bit for pres

parent 57da7cd0
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,13 @@ function ResData = plotsemiflap(type)
yDiff = diff(ax1.YLim);
ax1.YLim = [ax1.YLim(1), ax1.YLim(2) + FACTOR * yDiff];
addtxt(ax1, '\bf Front', ax1.YLim(2));
addtxt(ax2, '\bf Aft', ax2.YLim(2));
ylabel(ax2, '\colclstar, \colcdstar');
% legend(ax2, {"\cl", "\cd"}, 'Location','NorthEast')
% legend("boxoff")
pause(1);
figdir = 'figures/results/';
filename = sprintf('half%s-AllF-Dx%0.2f_V%0.1f_PRES.tex', ...
......@@ -264,9 +271,9 @@ end
function addtxt(ax, txt, ypos)
text(ax, -10, ypos, ...
text(ax, (40 - 13) / 2, ypos, ...
txt, ...
'HorizontalAlignment', 'left', 'VerticalAlignment', 'top', 'FontWeight', 'bold');
'HorizontalAlignment', 'center', 'VerticalAlignment', 'top', 'FontWeight', 'bold');
end
function [inertiaF, inertiaM] = calcinertia(ResDataWO, type)
......@@ -352,6 +359,7 @@ function setgca2(varargin)
xlim([-13, 40]);
xticks([-10:10:40]);
ylabel('\colcl, \colcd');
xlabel('$\Lambda_\text{aft}$ [deg]');
set(gca, ...
......
......@@ -303,7 +303,7 @@ end
function setgcpres(varargin)
xlabel('t');
xlabel('t/T');
ylabel('\fz');
set(gca, ...
......
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