如何移除轴?

如何移除轴?

如何去除黑斧?

\documentclass[pstricks,border=1cm,dvipsnames]{standalone}
\usepackage{pst-plot}
\newpsstyle{mygrid}
{
        labels=none,
        subticks=5,
        tickcolor=Red,
        subtickcolor=ForestGreen,
        xticksize=-3 3,
        yticksize=-2 2,
        subticksize=1,
}

\begin{document}
\begin{pspicture}(-2,-3)(2,3)
    \psaxes[style=mygrid](0,0)(-2,-3)(2,3)
\end{pspicture}
\end{document}

在此处输入图片描述

答案1

\newpsstyle{mygrid}
{
  labels=none,
  subticks=5,
  tickcolor=Red,
  subtickcolor=ForestGreen,
  xticksize=-3 3,
  yticksize=-2 2,
  subticksize=1,
  axesstyle=none,%  <==
}

在此处输入图片描述

相关内容