global width variable scaled by factor 0.95092 #672
I use global default variables
These are defined by the following code in my document header:
In Matlab, I pass the aforementioned variables to matlab2tikz.m as shown below:
However there seems to be some magic happening inside matlab2tikz, as it applies the factor 0.95092 to my predefined
My current workaround is adding a 0 in the Matlab code:
i.e. the end result when considering my initial definition of
which is fine for now, but could break the code in some situations that don't involve a factor in my initial definition of the width variable. For example
would yield zero figure width:
I have searched all the *.m files contained in the src folder of the matlab2tikz package for this factor but found no results in the code.
tl:dr; Does anyone know what is causing the magic factor 0.95092 and how to avoid it?
Edit: PS, I previously posted this question on tex.stackexchange.com but received no reply. Should the issue be solved here, I will update my Stackexchange post with the solution.
However, in your case, I also noticed that you are defining
Since this is a duplicate of #622, I will be closing this issue report. If you have have further questions regarding my response, please feel free to respond here. If you want to discuss that feature further, please do so in #622.