I've been trying to figure out how to arrange an issue I am having with one of my plots. I am using Overleaf to carry out my Master's dissertation and I have plotted a graph with Tikz of a parameter x over time. Since the time scale reaches 300,000 seconds, the x-axis of the graph is automatically made to show the short version tick marks, shown below:
However, I tried manually putting xtick labels to 0, 5000, 10000, 15000, etc... but the *10^5 is still there (as shown below).
How can I remove it?
Here is my code:
Code: Select all
\begin{tikzpicture}
\definecolor{color0}{rgb}{1,0,1}
\begin{axis}[
height=8cm,
minor xtick={},
minor ytick={},
tick align=outside,
tick pos=left,
title={S1 Strategy Value Phase-Space Plot for 1 Buyer Trader},
width=15cm,
x grid style={white!69.0196078431373!black},
xmin=-14386.3149981, xmax=302336.6482861,
xtick style={color=black},
xtick={0,50000,100000,150000,200000,250000,300000,350000},
xticklabels={0,50000,100000,150000,200000,250000,300000,350000},
y grid style={white!69.0196078431373!black},
ymin=-1.1, ymax=1.1,
ytick style={color=black},
ytick={-1.25,-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1,1.25},
yticklabels={
\ensuremath{-}1.25,
\ensuremath{-}1.00,
\ensuremath{-}0.75,
\ensuremath{-}0.50,
\ensuremath{-}0.25,
0.00,
0.25,
0.50,
0.75,
1.00,
1.25
}
]