Tuesday, March 24, 2015

Set marker edge width in Matlab figures

A few days in the past, I plotted about twenty figures and was making an attempt to set the markers with thicker edge. This might be very straightforward if it was in Excel: simply change the 'Marker Line Fashion' within the 'Format knowledge collection' tab. Nevertheless, it was sort troublesome to do in Matlab. At the very least I did not get an excellent answer from the google outcomes on that day.

At the moment I occurred to seek out the answer once I was enjoying with Matalb only for enjoyable. The very fact is that the 'Marker Edge Width' is definitely outlined by the 'LineWidth', even when the plot doesn't use a line to attach the markers..

t=[1:5];
plot(t,sin(t), 's', 'Markersize', 20,'LineWidth', 5)  



No comments:

Post a Comment