How to convert a figure using matlab2tikz expressing the dimensions in millimiters

I am trying to convert a matlab figure to a figure.tex file in which the measures (axis, fonts, etc....) are specified in SI (meters, centimeter or millimetres). The default seems to be inches.
I saw on the net a possible guess for setting that on matlab:
set(figure(1),'Units','centimeters')
matlab2tikz('figurehangle',figure(1),'filename','myfile.tex')
but inside myfile.tex the dimensions are still expressed in inches. Any solution?

Answers (0)

Categories

Asked:

on 25 Jun 2015

Edited:

on 25 Jun 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!