Removes a visual object from a diagram or scene, or removes a diagram or scene from the front end.
ris a reference to a visual object
RemoveVisual(r) removes the visual object referred to by
r. This may be a diagram, a scene, a visual object in a diagram, or a visual object in a scene.
r is an object in a diagram or scene, it is removed from it. If
r is a diagram or scene, it is removed from the front end along with all of its objects.
r isn’t a valid reference (for instance, if the object it used to referred to has been removed), nothing happens.
trig ≔ diagram("trig"); s ≔ plot(y = sin(x)); c ≔ plot(y = cos(x)); at ≔ plot(y = arctan(x)); AdjustVisual(trig.view, "ymin": −2, "ymax": +2)