TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a bit of help here with the axis... Any suggestions would be always welcome. I have got 2 extra labels at the x axis...


 \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri     }


 symbolic x coords={AL2O3, ALN, Si3N4, BeO, Epoxid, Polimid, ALSiC, Al, Cu,      Mo, Si, Au},
 x tick label style={rotate=90,anchor=east},
 ylabel=$\mathbf{W/m\cdot K}$,
 legend style={at={(0.5,-0.15)},
 anchor=north,legend columns=-1},
 ybar=5pt,% configures `bar shift'
 bar width=0.4cm,
 nodes near coords,
 \addplot[color=black, fill=lightgray, ybar legend]
 coordinates {(AL2O3,24) (ALN,180) (Si3N4,70) (BeO,250) (Epoxid,3.0)      (Polimid,0.385) (ALSiC,200) (Al,237) (Cu,394) (Mo,138) (Si,148) (Au,317)};

Somehow I would like to have a minor grid at the y axis, and that it starts at 0 along with the x axis, and that the upper axis doesn't have a cross...

share|improve this question
Welcome to TeX.sx! Please always add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Fran Sep 29 '13 at 11:26
What exactly is your question? – Jake Sep 29 '13 at 11:38
Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. – Fran Sep 29 '13 at 11:40
What does "upper axis doesn't have a cross" mean? – Thorsten Donig Sep 29 '13 at 15:36
@ThorstenDonig it should mean that the marks at the upper horizontal axis atays just in the box... I believe that is made with xtick{}, but I´m not sure... – quantumflight Sep 29 '13 at 15:45

Perhaps this approach is somewhat useful for you. The axes are put at the left and bottom and there is a minor grid for the y ticks. There are no symbolic x coords anymore and instead you now have explicit xticklabels. The double first and last ticks are gone.

The chemical compounds in the ticks of the abscissa have been formatted by »chemformula« from the »chemmacros« bundle. The »siunitx« package helps to format the unit for the label of the ordinate.


  inter-unit-product = \ensuremath{{}\cdot{}},


      axis x line*=bottom,
      axis y line*=left,
      nodes near coords,
      legend style={
        legend columns=-1
      x tick label style={rotate=90,anchor=east},
      bar width=0.4cm,
      ylabel={Thermoconductivity / \si{\W\per\m\per\K}},
      \addplot[color=black,fill=lightgray,ybar legend] coordinates {

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.