Cody

Solution 734943

Submitted on 14 Sep 2015 by Michael Ryan
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
%% x = 1:100; y = 1:100; h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

A3zw627tgpzpaaaaaelftksuqmcc"}
2   Pass
%% x = -2*pi:pi/8:2*pi; y = sin(x); h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

5iaaeynbgmacbsaanwgaac3aqdabqaacbsagnsaaoa2aac4dqaabgmagnsaanwgaac3aqdabqaacbsaanwgaoa2aac4dqaabgmagnsaaoa2aac3aqdabqaacbsaanwgaac3aqc4dqaabgmagnsaaoa2aac4dqaw7vwpskrovfzv28iaaaaasuvork5cyii="}
3   Pass
%% theta = linspace(0,2*pi); x = 2*cos(theta) + 4; y = 2*sin(theta) + 3; h = plotdata(x,y); assert(ishandle(h)) assert(isequal(h.Children.Children.XData,x)) assert(isequal(h.Children.Children.YData,y))

Bqna2wba2wba2wba2wba2wdqngdqngdqngdqngdqngc0dqc0dqc0dqc0dqc0dqbtawbtawbtawbtawbta0dbaedbaedbaedbaedbana2ana2ana2ana2ana2alluf1fflndfjfydaaaaaelftksuqmcc"}