# How can I get dynamic control over the domain of a contour plot? [closed]

I am trying to plot a specified contour of my function of two variables.

I call ContourPlot with my function as follows:

MyFunc[f_, x_, y_] :=
toplot = f;
k = x*y;
ContourPlot[{toplot == k}, {x1, 0, 100}, {x2, 0, 100}]


I need to set the domain dynamically, because when I have high value of k, the contour could be outside the statically specified domain.

How can I solve this issue?

## closed as unclear what you're asking by m_goldberg, Sumit, MarcoB, user9660, JensMay 7 '16 at 17:27

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• what is x,y and x1,x2 ? are they related? Are you looking for something like this Manipulate[ ContourPlot[{x y == k}, {x, 0, 100}, {y, 0, 100}], {k, 0, 1000}] – Sumit May 7 '16 at 11:22
• but: 1) I need to do this without using Manipulate and 2) I need to plot toplot not xy – Motosega May 7 '16 at 13:00
• Why can't you use Manipulate? – m_goldberg May 7 '16 at 13:37
• Then try ContourPlot3D like toplot = f; k = x y; ContourPlot3D[ toplot == k, {x, 0, 10}, {y, 0, 10}, {f, 0, 100}] – Sumit May 7 '16 at 13:55
• I can't use manipulate because i've fixed value and it isn't my goal show all possible value of k. And i need also 2D Plot. So, ContourPlot3D is not solution. – Motosega May 7 '16 at 14:03