$\begingroup$
$\endgroup$
5
I use this code
p1 = Graphics[{PointSize[0.05], Red, Point[{{4, 0}, {7, 0}}]}];
p2 = Plot[Sin[x], {x, 0, 10}, PlotRange -> {-2, 2}];
Show[{p1, p2}]
which gives the plot below.
How to modify
p1so that instead of those filled-in red point markers, I get empty circles with thickness that can be controlled? Is it possible to not changep1at all, and instead define another code beforep1so that it modifies the result?
lang-mma
Show[{p1, p2}] /. Point[pt_] :> {Point[pt], White, PointSize[.03], Point[pt]}? $\endgroup$Circleinstead ofPoint. $\endgroup$p1, yes? $\endgroup$