# In Spider chart, how can change axis scale to be increasing by 5 instead of 1?

I have the following Latex code to plot a spider cart. However, I need the Scale increasing by 5, in other words; 0,5,10,... and so on, instead of being increased by 1.

\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tkz-kiviat,numprint,fullpage}
\usetikzlibrary{arrows}
\thispagestyle{empty}

\begin{document}
\begin{tikzpicture}

\tkzKiviatLine[ ultra thick, color=red,   mark=ball,  ball color=red,mark size=12pt](5,5,5,5,5,5)
\tkzKiviatLine[ ultra thick, color=blue,  mark=ball,  ball color=red,mark size=12pt](10,10,10,10,10,10)
\tkzKiviatLine[ ultra thick, color=gray,  mark=ball,  ball color=red,mark size=12pt](15,15,15,15,15,15)
\tkzKiviatLine[ ultra thick, color=green, mark=ball,  ball color=red,mark size=12pt](20,20,20,20,20,20)
\tkzKiviatLine[ ultra thick, color=yellow,mark=ball,  ball color=red,mark size=12pt](25,25,25,25,25,25)
\tkzKiviatLine[ ultra thick, color=pink  ,mark=ball,  ball color=red,mark size=12pt](30,30,30,30,30,30)

\end{tikzpicture}

\end{document}


The following work

\documentclass[tikz,border=9]{standalone}
\usepackage{tkz-kiviat}

\begin{document}

\pgfkeys{
\ifx\nv\undefined\else
\pgfmathparse{Mod(\nv,5)}
\ifdim\pgfmathresult pt>0pt
\tikzset{opacity=0}
\fi
\fi
}
}

\begin{tikzpicture}

As @percusse suggests, you should add % at the end of each line. Otherwise there might be extra space in the final result. I do not know particularly which line feed causes the extra space. So the best way is to keep % on all lines.
• you might need a few % signs though ;) – percusse Mar 11 '17 at 19:35
• @percusse at which part? I thought spaces do not harm in tikzpicture! – Symbol 1 Mar 11 '17 at 20:12