Skip to content

Commit

Permalink
Copy from new Autograder Plot.m
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhrao committed Dec 9, 2018
1 parent 5d4a700 commit 067ae46
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Plot.m
Original file line number Diff line number Diff line change
Expand Up @@ -600,23 +600,11 @@
% if data equals, we've alreay checked everything else. it has
% to be styles (points or lines)
msg = 'Your point or line styles are incorrect';
elseif this.pointEquals(that)
else
% if not even data equals, some bad data there
msg = 'Your plot data differs from the solution';
else
% At this point, we've checked:
% Alien
% Title, XYZ labels
% Position (Subplot)
% PlotBox (Axis)
% Limits
% Data
%
% If we reach here, we don't really know what's up. Tell the
% user we don't know - see a TA
msg = 'Your plot is different, but we can''t tell why. Please reach out to a TA, and include this feedback';
end
msg = sprintf('%s\nFor more information, please use <code>checkPlots</code>', msg);
msg = sprintf('%s. For more information, please use <code>checkPlots</code>', msg);

studPlot = img2base64(this.Image);
solnPlot = img2base64(that.Image);
Expand Down

0 comments on commit 067ae46

Please sign in to comment.