Skip to content

Commit

Permalink
axes labels in plot scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
r-aguilera committed Nov 21, 2019
1 parent 4fb5584 commit 8735490
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TXTreadAngles.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
axes = gca;
axes.XLim = [0 iterations];
axes.YLim = [0 2*pi];
xlabel('Iteration')
ylabel('Angle [rad]')

scatter(Xaxis,Yaxis,'b','.')
scatter(XaxisRef,YaxisRef,'r','.')
2 changes: 2 additions & 0 deletions TXTreadAngles_with_pause.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
hold on;
axes.XLim = [0 iterations];
axes.YLim = [0 2*pi];
xlabel('Iteration')
ylabel('Angle [rad]')
scatter(Xaxis,YaxisPt,'b','.')
hold off;
pause(0.01);
Expand Down
2 changes: 2 additions & 0 deletions TXTreadOmegas.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
Ymin = min(data(:));
axes.XLim = [0 iterations];
axes.YLim = [Ymin-0.5 Ymax+0.5];
xlabel('Iteration')
ylabel('Angular velocity [rad/s]')

scatter(Xaxis,Yaxis,'b','.')
scatter(XaxisRef,YaxisRef,'r','.')
2 changes: 2 additions & 0 deletions TXTreadWeightedAngles.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
axes = gca;
axes.XLim = [0 iterations];
axes.YLim = [0 2*pi];
xlabel('Iteration')
ylabel('Angle [rad]')

for i = 1: iterations
angles = Angle_data(i,:);
Expand Down

0 comments on commit 8735490

Please sign in to comment.