# How to scale hatch in tikz figure in LaTeX?

I have ellipses with hatch. I want to use lines or bricks hatch but more rare than default.

I can change spread between lines in this way Custom and built in TikZ fill patterns. It worked, but it's so ugly and I don't know how to scale bricks.

I tried to do so https://tex.stackexchange.com/a/125545/53834, but it didn't help -- hatch adapts to new scale.

So, my image is

\documentclass{standalone}
\usepackage{pgfplots}
\usetikzlibrary{patterns}

\begin{document}
% defining the new dimensions
\newlength{\hatchthickness}
% declaring the keys in tikz
hatchthickness/.code={\setlength{\hatchthickness}{#1}}}
% setting the default values
hatchthickness=0.4pt}
% declaring the pattern
{custom north west lines}% name
{\pgfqpoint{-2\hatchthickness}{-2\hatchthickness}}% lower left corner
{% shape description
\pgfsetlinewidth{\hatchthickness}
\pgfusepath{stroke}
}
\begin{tikzpicture}
\draw[pattern=custom north west lines] (-2,0) ellipse (1cm and 2cm);
\draw (2,0) ellipse (.7cm and 1.5cm);
\end{tikzpicture}
\end{document}


I include it this way

\begin{figure}[h!]
\center\includestandalone[width=4cm]{tikz/indistinguishableValuesImage}
\end{figure}


I want to get more elegant solution for more rare hatch, or scale it normally (with hatch scaling). And I don't want to make it PNG -- I want to use vector graphics or, if nothing will help, SVG.

• Your first link is actually one of weird sites that hijack Stackexchange questions and answers, I've included the original in your question. – percusse Sep 28 '14 at 10:31