# Remove scientific notation from log plot

by LMT-PhD   Last Updated July 11, 2019 22:23 PM

Hello stack exchange I have been looking at similar questions but can't make it work.

Here is my simplified code :

    \documentclass[border=2pt]{standalone}
\usepackage[utf8]{inputenc}

\usepackage{tikz,pgfplots}
\usetikzlibrary{positioning} % pour le positionnement relatif
\usetikzlibrary{calc}

%\pgfplotsset{scaled y ticks=false,
%yticklabel style ={
%/pgf/number format/fixed,
%/pgf/number format/precision=3},
%}

\begin{document}
\begin{tikzpicture}

\begin{axis}[axis x line=bottom, axis y line = left , xmode=log,ymode=log, grid=both,
ymin = 0.05,ymax=1.1, extra y ticks={0.05,0.2,0.5},extra y tick labels={$0.05$,$0.2$,$0.5$},
%scaled ticks=false, tick label style={/pgf/number format/fixed},
extra x ticks={0.05,0.2,0.5},extra x tick labels={$0.05$,$0.2$,$0.5$},
xmax=2, width=10cm]

\def\n{1}
\addplot[color=red,samples=10,domain=0.01:0.7,thick=3pt,ultra thick] { exp(-3.14159*\x*\n/sqrt(1-\x^2)) } ;

\end{axis}

\end{tikzpicture}
\end{document}


The commented lines are solutions I found here, and tried without success:

As you can see, there are still 10^n ticks, between the ones I typed manually.

What am I doing wrong ?

Tags :

## Related Questions

Updated August 14, 2019 14:23 PM

Updated September 21, 2019 08:23 AM

Updated February 15, 2019 08:23 AM

Updated February 04, 2019 20:23 PM

Updated February 21, 2019 23:23 PM