Niles
- 1,834
- 0
Hi
I have a function, which is cylindrical symmetric given by
<br /> f(x, y, z) = \exp(-x^2-z^2)<br />
For a given y, the function \exp(-x^2-z^2) = c traces out a circle (where c is a constant). A contourplot of f(x, 0, z) is attached.
However, this is for y=0 (currently, I get the same plot for an arbitrary value of y). I am interested in constructing a function, which is identical to f, but where the center of the above circle increases linearly with y. In other words, at y=y' I want my function to have the same contour plot as attached, but its center should be at y=y'.
Is it possible to construct such a function? I guess this is merely a tube, which is tilted.
I have a function, which is cylindrical symmetric given by
<br /> f(x, y, z) = \exp(-x^2-z^2)<br />
For a given y, the function \exp(-x^2-z^2) = c traces out a circle (where c is a constant). A contourplot of f(x, 0, z) is attached.
However, this is for y=0 (currently, I get the same plot for an arbitrary value of y). I am interested in constructing a function, which is identical to f, but where the center of the above circle increases linearly with y. In other words, at y=y' I want my function to have the same contour plot as attached, but its center should be at y=y'.
Is it possible to construct such a function? I guess this is merely a tube, which is tilted.