Preview:
xx = -1:0.1:1
y = x.^2
plot(x,y)
xlabel('time [s]')
ylabel('amplitude')
title('my plot')
legend('y(t)')
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter