Posts Tagged ‘matlab2tikz’

March 20, 2012 0

tikz ensure equal axis ticks when converting a matlab plot to tikz using matlab2tikz

By in latex, matlab

If you want to ensure the same ticks mark as you have in your matlab plot then this might help matlab2tikz(‘latextikzfile.tex’,’extraAxisOptions’,{[‘xtick={‘ regexprep(num2str(get(gca,’XTick’)),’\s*’,’,’) ‘}’]})

Tags: ,