Something like this:
nlines = 30;
Table[
Overlay[
Rotate[
Graphics[{
Table[{
Line[{{0, n}, {nlines, n}}],
Line[{{n, 0}, {n, nlines}}]},
{n, 0, nlines}],
Text[Style[#1, 18], {0, 0}, {-1, -1}, Background -> White]
},
AspectRatio -> 1,
PlotRangePadding -> None,
ImageSize -> 360], #2] & @@@
Transpose[{(ToUpperCase /@ Alphabet[])[[;; ngrids]],
Most@Subdivide[\[Pi]/2, ngrids]}],
Alignment -> Center],
{ngrids, 3, 6}]
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/QIfpp.png)
You can get an interesting effect if you use color in the grid. Here I'm using a repeating pattern of colors for the gridlines and it gives a pretty interesting effect (also, modified the code to not use Overlay
, as it is always worth the effort to avoid that function)
With[{line = Line[{{0, n}, {30, n}}]},
Show[
Table[
rt = RotationTransform[m \[Pi] / 16, {15, 15}];
Graphics[{Table[{ColorData[110][n], rt /@ line,
rt /@ Map[Reverse, line, {1, 2}]},
{n, 0, 30}]}], {m, 0, 7}], ImageSize -> 500]
]
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/BMfno.png)
or, replacing ColorData[110][n]
with If[EvenQ[n], Red, Blue]
gives this,
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/Q1d4M.png)
Line
primitives.Rotate
inside ofGraphics
. This should be straightforward. Don't usePlot
and don't use theGridLines
option. $\endgroup$