ich würde gerne die Säulen in gleichem Abstand anordnen. Hat jemand einen Vorschlag wie ich das erreichen kann?
Vielen Dank
\documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{amsmath} \usepackage{graphicx} \usepackage{pgfplots} \title{Your Paper} \author{You} \begin{document} \begin{figure}[hbt] \centering \begin{tikzpicture} \begin{axis}[ width=0.4\textwidth, height=0.4\textheight, xlabel={Spannung in MPa}, ylabel={Dehnung}, y tick label style={/pgf/number format/1000 sep=}, ybar, enlargelimits=0.15, ymajorgrids, xtick={0 , 5 , 10 , 20 , 40 }] \addplot coordinates{(0 , 700) (5 , 1250) (10 , 1400) (20 , 2180) (40 , 3000)}; \end{axis} \end{tikzpicture} \caption{Titel} \end{figure} \end{document}