Cody

Solution 2064582

Submitted on 20 Dec 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
N = 2*pi; y = cos(0:0.03:N); f = cosplot(N); assert(isequal(f.YData,y) && isequal(f.Color, [1 0 0]) && strcmp(f.LineStyle, ':') && strcmp(f.Marker,'*') );

h = Line with properties: Color: [1 0 0] LineStyle: ':' LineWidth: 0.5000 Marker: 'none' MarkerSize: 6 MarkerFaceColor: 'none' XData: [1×210 double] YData: [1×210 double] ZData: [1×0 double] Show all properties f = Line with properties: Color: [1 0 0] LineStyle: ':' LineWidth: 0.5000 Marker: 'none' MarkerSize: 6 MarkerFaceColor: 'none' XData: [1×210 double] YData: [1×210 double] ZData: [1×0 double] Show all properties

Assertion failed.

W8ogpzamkwdraaaaabjru5erkjggg=="}]