This code (from this answer)
Manipulate[Plot[f[x, x0, a, n0, c], {x, 0, 3},
PlotRange -> {{-1, 4}, {-2, 4}}Frame -> True, Axes -> False,
MeshStyle -> Directive[Green, PointSize[Large]],
MeshFunctions -> {#2 &}, Mesh -> {{1, -1}},
MeshShading -> {Blue, Red}, BaseStyle -> Thick,
Prolog -> {EdgeForm[{LightBlue, Thick}], Opacity[0.5], LightBlue,
Rectangle[{0, -1}, {3, 1}]}],
{{x0, 1.5}, 0, 10}, {{a, -.3}, -1, 1}, {{n0, 1.1}, 1, 2}, {{c, 0.1}, 0.1, 10}]
Shows intersections of the function with the rectangle based of their common value, so on top and bottom of the rectangle. I need the code to show the intersections based of the common categories, so it should display the green points on left and right sides of the rectangle.
Another question - How can i display the coordinates of the green points next to them?
MeshFunctions->{#1&} and Mesh -> {{0,3}}
give what you need? $\endgroup$ – kglr Dec 19 '17 at 2:20