Set line width in Matlab
Ming Sun / October 27, 2022
0 min read • ––– views
In Matlab, for some of the plot functions do not take the LineWidth
as its input parameter, such as bode
. The following code snippet shows an universal way to set the linewidth in Matlab[1].
set(findall(gcf,'type','line'),'linewidth',2)