I am doing a figure and I want to fill a polygon with fillstyle=vlines
or fillstyle=hlines
but I want this filling in a different color to the black which is what throws by default. Besides this, I also want to change the separation between the lines. How can I do this?
Example:
\documentclass{article}
\usepackage{pst-poly}
\usepackage{pst-fill}
\begin{document}
\begin{center}
\begin{pspicture}(0,0)(6,6)
\pspolygon[fillstyle=vlines](1,1)(1,4)(4,4)(4,1)
\end{pspicture}
\end{center}
\end{document}
The idea is to change the color of the command vlines
.
\documentclass{...}
and ending with\end{document}
. – Adam Liter Feb 26 '14 at 1:33`
, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Speravir Feb 27 '14 at 23:57