How to convert a figure using matlab2tikz expressing the dimensions in millimiters
Show older comments
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
Find more on Antennas and Electromagnetic Propagation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!