I generated the following simple plot in Matlab:
Date=720000:730000
y=Date
plot(Date,y)
y=log(Date)
plot(Date,y)
datetick('x','yyyy')
matlab2tikz('test.tex')
which converts the date serial numbers into Years. I embedded this graphic into a Latex Document with the tikz package
\documentclass[]{article}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{figure}
\centering
\input{primitives/test.tex}
\end{figure}
\end{document}
The resulting output plots the years correctly (1970-2000) but it also includes a 10^5 on the x-axis. The Matlab file produces the correct plot without the disturbing 10^5. How can I avoid this?
test.texfile, look for that number and delete it. – MyUserIsThis May 31 '15 at 17:35I tried adding the options
– MyUserIsThis May 31 '15 at 17:48scaled ticks=false, tick label style={/pgf/number format/fixed},to the axis environment, and it removed the 10^5