2
$\begingroup$

When I plot a curve using ContourPlot, and then move the cursor near the plotted line, a pop-up window (tooltip) with the corresponding function formula appears.

Very often I find it distracting, especially when the pop-up window is large and I want to get the coordinates.

How can I disable this?

$\endgroup$
2
$\begingroup$

In ContourPlot, ContourLabels -> None.

$\endgroup$
  • $\begingroup$ And can I disable this after I have done my plot? $\endgroup$ – Agnieszka Sep 5 '17 at 8:47
  • $\begingroup$ @Agnieszka Try replacing Tooltip with (#&) in the output (see ReplaceAll). $\endgroup$ – Szabolcs Sep 5 '17 at 8:48
  • $\begingroup$ Sorry, but I don't understand your last comment. Assume that I have plotted ContourPlot[x^2+y^2==1,{x,-1,1},{y,-1,1}]. What should I do afterwards to prevent pop-up window? $\endgroup$ – Agnieszka Sep 5 '17 at 8:52
  • $\begingroup$ Did you look up ReplaceAll? plot /. Tooltip -> (#&). $\endgroup$ – Szabolcs Sep 5 '17 at 8:53
  • $\begingroup$ Sorry, but I do not understand your last comment. Assuming, I have already plotted ContourPlot[x^2+y^2==1,{x,-1,1},{y,-1,1}], what should I do afterwards to get rid of the pop-up window? $\endgroup$ – Agnieszka Sep 5 '17 at 8:54

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.