I have a function of 4 variables, let us say $f(x,t,w,n)$, the function $g(x,n)$ is defined as
g(x,n)=\int_a^b\int_c^d f(x,t,w,n) dt dw
where $a$, $b$, $c$, $d$ are given constants and the integral cannot be explicitly computed in a closed form. Then, $h(x,n)$ is given by
h(x,n)=\ln\frac{g(x,n)}{g(-x,n)}
I want to ploy $y=h(x,n)$ as a function of $x$ for different values of $n$ on the same plot. How can I do this. If it helps, $f(x,t,w,n)$ is of the following form
f(x,t,w,n)=\exp{-\frac{x^2+tw+wx}{n}}+\exp{-\frac{t^2+tx^2-2tx}{2n}}