У меня есть функция, которая рисует временной ряд, теперь я хочу сохранить это как изображение, как это можно сделать, пожалуйста?Сохранение графика как PNG в Matlab
function TimeSeriesImages(a, b, c, d, e, f, g, h, i, j, k, l)
x = [a b c d e f g h i j k l];
ts1 = timeseries(x,1:12);
ts1.Name = 'Monthly Count';
ts1.TimeInfo.Units = 'months';
ts1.TimeInfo.Format = 'mmm dd, yy'
ts1.Time=ts1.Time-ts1.Time(1);
plot(ts1)
end
Возможно, это связано [здесь] (http://stackoverflow.com/questions/606768/write-a-figure-to-a-file-automatic-in-matlab). – hhh