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: ,


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/mgis.dk/about/wp-includes/class-wp-comment-query.php on line 399

Leave a Reply