MATLAB APP Designer eixos ButtOnfcn
function lineCallback(src,~)
src.Color = rand(1,3);
end
Noob_Code
function lineCallback(src,~)
src.Color = rand(1,3);
end