
\pgfplotstableread[col sep=comma]{results/deviation_num_injections_dims.csv}\deviationsnuminjectionsdims

\begin{tikzpicture}
    \begin{axis}[
        width=.95\textwidth,
        xlabel={Deviation from max runs (\% points)},
        ylabel={Number Simulations},
        ylabel near ticks,
        xmin=-2, xmax=2,
        ymin=2000, ymax=26000,
        scaled y ticks=false,
        grid=both,  % Add a grid for better readability
    ]
    
        \addplot table[x=Timing deviation, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Value failure, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Coding failure, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Glitch, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Deadlock, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Token count failure, y=Total simulations] {\deviationsnuminjectionsdims};
        \addplot table[x=Nothing, y=Total simulations] {\deviationsnuminjectionsdims};
    \end{axis}
\end{tikzpicture}