2
$\begingroup$

I want a white filling inside the black dot

  Graphics[{Black, FillingStyle -> White, PointSize[0.035], Point[{1, 2}]}]
$\endgroup$
1
  • 1
    $\begingroup$ Graphics[{EdgeForm[Thick], White, Disk[{1,2},0.035]}] $\endgroup$ Jul 6 at 11:31

3 Answers 3

7
$\begingroup$

Point doesn't have a distinction of interior and edge. Use Disk instead:

Graphics[
  {EdgeForm[Black], FaceForm[White], Disk[{1, 2}, Scaled[0.035]]}
]

a dot with white interior and black edge

$\endgroup$
4
$\begingroup$

Use a Disk instead of a Point.

Graphics[{EdgeForm[{Thick, Black}], FaceForm[White], Disk[{1, 2}, 0.035]},
 PlotRange -> {{0, 2}, {1, 3}}]
$\endgroup$
3
$\begingroup$
Graphics[{Circle[], Annulus[{1, 2}, {0.02, .035}]}]

enter image description here

$\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.