3
$\begingroup$

How would I draw a grid with dots on specified intersections? The image below shows the basic idea:

enter image description here

If I wanted to label the grid lines with index numbers or letters, how would I do that?

$\endgroup$
  • 1
    $\begingroup$ Use Graphics[],Line[],Point[] ... $\endgroup$ – Dr. belisarius Feb 27 '14 at 21:22
5
$\begingroup$

GridLines and Ticks should prove useful.

Graphics[{PointSize[Large], Point[{10, 20}]}, 
 GridLines -> {Range[0, 25], Range[0, 25]},
 Ticks -> {{{5, "A"}, {10, "B"}, {15, "C"}, {20, "D"}}, Automatic},
 PlotRange -> { {0, 25}, {0, 25}}, Axes -> True]

grid

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.