Cody

Problem 44929. Plot Line Specifications

Solution 2704383

Submitted on 17 Jul 2020 by ChrisR
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   Pass
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,'*') );