5

I would like to be able to transform tikz's predefined patterns. To make things concrete, how should I modify the following code to get the checkerboard pattern to be slanted along with the rectangle?

\draw[pattern=checkerboard light gray,yslant=-.5] (0,0) rectangle (1,1);

This question arose in the following context: In a 3D-picture, I would like to fill paths in the coordinate planes with the checkerboard pattern slanted in the way the coordinate plane is through the perspective defined by my coordinate redefinitions, e.g.,

z={(-.7,-.3)},x={(.9,-.1)}
equaeghe
  • 5,976
  • 4
  • 30
  • 36

0 Answers0