Skip to content
Snippets Groups Projects
Commit ede1d5fd authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Fixed matlab's eps figures (color)

parent f135bbe9
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,10 @@ function gtFigureSaveToFile(f, filename, extensions)
end
for ii_ext = 1:numel(extensions)
saveas(f, [filename '.' extensions{ii_ext}]);
if (strcmpi(extensions{ii_ext}, 'eps'))
saveas(f, [filename '.' extensions{ii_ext}], 'epsc');
else
saveas(f, [filename '.' extensions{ii_ext}]);
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment