Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
1  
Use Graphics[],Line[],Point[] ... –  belisarius Feb 27 at 21:22

1 Answer 1

up vote 5 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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