view +draw/point.m @ 443:12db86a8ec7b

Fix bug in spyh() when the matix has no non-zero elements.
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 19 Mar 2017 13:39:49 +0100
parents 48b6fb693025
children
line wrap: on
line source

function l = point(p)
    l = line(p(1,:),p(2,:));
    l.LineStyle = 'none';
    l.Marker = '.';
end