Applies the DIN 461 style to a 2D plot in MATLAB.
- Basic usage:
t = linspace(0, 40, 100);
u = 325*sin(2*pi*t/20);
set_default_plot_properties();
plot(t, u, 'b');
din461('$t$', '$u$', 'ms', 'V');
- Replace the penultimate number with the unit label instead of placing the unit label between the last and the penultimate number:
din461('$t$', '$u$', 'ms', 'V', 'replacePenultimate', [1 1]);
- Vertical y label instead of horizontal y label:
din461('$t$', '$u$', 'ms', 'V', 'verticalYLabel', 1);
- For subplots use the function subaxes instead of subplot.