
Como mudar o eixo x com rótulos no plano xy? Eu tentei por este código, mas falhei. ele move a linha x, mas seus rótulos correspondentes não estão no lugar correto.
\documentclass[]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{fullpage,amsmath,tkz-base}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmin=0, ymin=0, xmax=10,ymax=10,xstep=1,ystep=1]
\tkzAxeX[label=,xshift=2cm]
\tkzAxeY[label=]
\end{tikzpicture}
\end{document}
Preciso mudar as linhas xey com seus rótulos.
Responder1
Que tal: “retirar” os eixos originais e redesenhá-los.
\documentclass[]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{fullpage,amsmath,tkz-base}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[myaxis/.style={thin, ->, >=stealth, shorten >=-15pt}]
\tkzInit[xmin=0, ymin=0, xmax=10, ymax=10, xstep=1, ystep=1]
\tkzAxeY[label=,style={very thin,opacity=0}]
\tkzAxeX[label=,xshift=2cm, style={very thin,opacity=0}]
\draw [myaxis] (2,0) -- (12, 0);
\draw [myaxis] (0,0) -- (0,10);
\end{tikzpicture}
\end{document}