Tweeted twitter.com/StackMma/status/1114362393998626817 occurred Apr 6 at 3:01 4 Corrected syntax to properly show multiplication between parameters and variables. edited Mar 4 at 18:47 Banks Osborne 1833 bronze badges I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$\qquad f(x,y) = (x\,y)^{p-1}/(\alpha + \beta\,x + \gamma\,y + \delta\,x\,y)^{p + q}$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xyx*y)^(p - 1)/(α + βxβ*x + γyγ*y + δxyδ*x*y)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xyx*y)^(p - 1)/(α + βxβ*x + γyγ*y + δxyδ*x*y)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$\qquad f(x,y) = (x\,y)^{p-1}/(\alpha + \beta\,x + \gamma\,y + \delta\,x\,y)^{p + q}$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xy)^(p - 1)/(α + βx + γy + δxy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(α + βx + γy + δxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$\qquad f(x,y) = (x\,y)^{p-1}/(\alpha + \beta\,x + \gamma\,y + \delta\,x\,y)^{p + q}$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (x*y)^(p - 1)/(α + β*x + γ*y + δ*x*y)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(x*y)^(p - 1)/(α + β*x + γ*y + δ*x*y)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. Became Hot Network Question occurred Mar 4 at 7:09 3 Routine cleanup edited Mar 4 at 4:06 m_goldberg 91.6k88 gold badges7575 silver badges209209 bronze badges I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$f(x,y) = \frac{(xy)^{p-1}}{(\alpha + \beta x + \gamma y + \delta xy)^{p+q}}.$$ $$\qquad f(x,y) = (x\,y)^{p-1}/(\alpha + \beta\,x + \gamma\,y + \delta\,x\,y)^{p + q}$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xy)^(p - 1)/(α + βx + γy + δxy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(α + βx + γy + δxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$f(x,y) = \frac{(xy)^{p-1}}{(\alpha + \beta x + \gamma y + \delta xy)^{p+q}}.$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xy)^(p - 1)/(α + βx + γy + δxy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(α + βx + γy + δxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$\qquad f(x,y) = (x\,y)^{p-1}/(\alpha + \beta\,x + \gamma\,y + \delta\,x\,y)^{p + q}$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xy)^(p - 1)/(α + βx + γy + δxy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(α + βx + γy + δxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. 2 Routine cleanup edited Mar 4 at 3:57 m_goldberg 91.6k88 gold badges7575 silver badges209209 bronze badges I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$f(x,y) = \frac{(xy)^{p-1}}{(\alpha + \beta x + \gamma y + \delta xy)^{p+q}}.$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, \[Alpha]α > 0, \[Beta]β > 0, \[Gamma]γ > 0, \[Delta]δ > 0}, f[x_, y_] := (xy)^( p - 1)/(\[Alpha]α + \[Beta]xβx + \[Gamma]yγy + \[Delta]xyδxy)^(p + q)]  After the assignment, I tried plotting with ContourPlotContourPlot and DensityPlotDensityPlot.  I'll provide just the ContourPlot functionContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlotContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlotContourPlot nor DensityPlotDensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {\[Alpha]α > 0, \[Beta]β > 0, \[Gamma]γ > 0, \[Delta]δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(\[Alpha]α + \[Beta]xβx + \[Gamma]yγy + \[Delta]xyδxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlotContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica;Mathematica, so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$f(x,y) = \frac{(xy)^{p-1}}{(\alpha + \beta x + \gamma y + \delta xy)^{p+q}}.$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[{x > 0, y > 0, p > 0, \[Alpha] > 0, \[Beta] > 0, \[Gamma] > 0, \[Delta] > 0}, f[x_, y_] := (xy)^( p - 1)/(\[Alpha] + \[Beta]x + \[Gamma]y + \[Delta]xy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot. I'll provide just the ContourPlot function below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[{\[Alpha] > 0, \[Beta] > 0, \[Gamma] > 0, \[Delta] > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(\[Alpha] + \[Beta]x + \[Gamma]y + \[Delta]xy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica; so I'm more than willing to learn something new or help further explain my goals. I'm new to Mathematica, and for most purposes the program has served me well and been straightforward. However, I'm hitting a snag while trying to create a contour plot for the distribution function $$f(x,y) = \frac{(xy)^{p-1}}{(\alpha + \beta x + \gamma y + \delta xy)^{p+q}}.$$ Notice $$x,y$$ are variables, and $$\alpha,\beta,\gamma,\delta, p,$$ and $$q$$ are constants. I need to set a list of assumptions for constants in the function, but my attempts have been fruitless. Every command yields a graph without an image. I first tried assigning my function with its assumptions by: Assuming[ {x > 0, y > 0, p > 0, α > 0, β > 0, γ > 0, δ > 0}, f[x_, y_] := (xy)^(p - 1)/(α + βx + γy + δxy)^(p + q)]  After the assignment, I tried plotting with ContourPlot and DensityPlot.  I'll provide just the ContourPlot expression below because not much changes across them: ContourPlot[f[x, y], {x, 0, 200}, {y, 0, 200}]  In regards to the ContourPlot code, I've changed the domain to both larger and smaller numbers to no avail. Neither ContourPlot nor DensityPlot provides an image. I then try the code without assigning the function beforehand, while including ContourPlot within the Assuming command: Assuming[ {α > 0, β > 0, γ > 0, δ > 0, p > 0}, ContourPlot[(xy)^(p - 1)/(α + βx + γy + δxy)^(p + q), {x, 0, 3}, {y, 0, 3}]]  I know this equation should produce some sort of image since it's simply a type of truncated distribution function. I believe I've narrowed down the issue to one of the following: Mathematica does not allow assumptions to be used with ContourPlot/DensityPlot, the distribution function is too complicated for Mathematica, or my user error is hindering me. My next step is to try creating different plots on the same graph for various pre-determined values of the parameters. Any help is much appreciated. As previously mentioned, I'm not very experienced with Mathematica, so I'm more than willing to learn something new or help further explain my goals. 1 asked Mar 4 at 2:40 Banks Osborne 1833 bronze badges