Commit 65852038 authored by mmroma's avatar mmroma
Browse files

After submitting revision #1

parent e7154987
......@@ -2,7 +2,7 @@ function [] = paper_plot_admittance_control(d,p)
%PAPER_PLOT_ADMITTANCE_CONTROL
lw = 2; %line width
fs = 12; %font size
fs = 14; %font size
%% 1) Payload Position
f = plot_position(d.tout, d.payload_X, d.Xd_load,'','northwest',lw,fs);
......@@ -59,7 +59,7 @@ function [] = paper_plot_admittance_control(d,p)
%% 4) 3D System
limits = [2.5, -0.7, 1.3, -1.3, -1.5, -3.5];
f = plotData_3d(d,p,limits);
f = plotData_3d(d,p,limits,lw,fs);
% Save the plot
saveas(f,'Plotting/saved_plots/sim_3d_system_view.png')
......
function [f] = plotData_3d(simData, params, limits)
function [f] = plotData_3d(simData, params, limits, lw, fs)
%animate Animates the multirotor
% Inputs:
% simData
......@@ -141,6 +141,10 @@ function [f] = plotData_3d(simData, params, limits)
%Draws a point tracing the payload's path
plot3(L_X, L_Y, L_Z, 'c.');
%%
ax = gca;
ax.FontSize = fs;
end
......@@ -3,7 +3,6 @@
%% 1) Call Simulink
simData = sim('random_noise');
%% 2) Plot the noise
figure(1);
......
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