saveas
📝 Syntax
📥 Input argument
📄 Description
Option
Format
File extension
💡 Example
🔗 See also
🕔 History
Version
📄 Description
Last updated
Last updated
x = -2:0.25:2;
y = x;
[X,Y] = meshgrid(x);
F = X.*exp(-X.^2-Y.^2);
surf(X,Y,F);
saveas(gcf(), [tempdir, 'svg-file.svg']);