Is it possible to get an Axe with individual x-steps having the degree symbol? Like $50^\circ$, $100^\circ$ etc.?

         \tkzGrid[color = gray!50!white,sub,subxstep=15,subystep=0.1]
         \tkzAxeX[right space=0.2, label=$\alpha$]

Any idea?

  • Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Holene Mar 28 '16 at 9:11
  • pgf and tikz are loaded by tkz's packages – Alain Matthes Mar 28 '16 at 10:48

You need to do the graduations by yourself. \tkzDrawAxe draws the axe then you can add the graduation without the symbol and you can put the symbol at the end of the axe with the label. Another possibility is to rewrite the command \tkzLabelX but this macro is long. perhaps you can in this case write your own macro. I think it's perhaps the best solution.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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