Scattered stuff from Silas during Dissertation
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
function mat2tikz_improved(filename)
|
||||
function mat2tikz_improved(filename,options)
|
||||
arguments
|
||||
% Default to the path in your example if no argument is provided
|
||||
filename (1,1) string = 'C:\Users\Silas\Documents\Dissertation\00_Examples\tikz\textfig.tikz';
|
||||
options.cleanfigure = false;
|
||||
end
|
||||
if options.cleanfigure
|
||||
cleanfigure;
|
||||
end
|
||||
cleanfigure;
|
||||
matlab2tikz(char(filename), ...
|
||||
'width', '\fwidth', ...
|
||||
'height', '\fheight', ...
|
||||
|
||||
Reference in New Issue
Block a user