Posts

Showing posts from March 3, 2019

Can the Assuming function be used with ContourPlot or DensityPlot?

Image
1 $begingroup$ 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 DensityP...