[Date Index] [Thread Index] [Author Index]
Skewed axes on "Show"-ing
I plotted two 2-D graphs (the range of values taken by the abscissa were the same->[0,0.03].. the functions are well-defined for x<0 also). Both graphs peaked at x=0 decaying quickly as x increased. Peak values: 300 and 400 units for the two. Using "Show" I tried to get a combined graph. What I got was the two graphs.. with the axes of one slightly shifted (horizontally) from the other's causing distortion in the numbers marked on the x and y-axis. I tried reproducing the example provided in the Mathematica book (Section 1.9.3) that involves combining a Bessel and Neumann function (and that too with different ranges for x!!) and it worked! The section said that the axes are supposed to scale appropriately to accomodate both the functions. Question is .. if Mathematica plotted the individual graphs correctly, what went wrong when I simply tried to get the two together? An associated problem (though I do have a guess at the answer).. One of the functions is such that when x is around 0.03, it is already tending to zero.I provided an initial plotting range of [0,0.08] for this function. "Plot" gave me a contracted plot with x going from 0 to 0.03 (approximately). Maybe the command is programmed to remove "tails" (that are considered redundant?) of decaying functions from their plots. .. T/F?