I have the following expression from which I want to extract data for a contour plot.
a = (r^2/2 + (r BesselI[1, 2 r])/(
2 BesselI[0,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])])) (1.386371389484812` +
0.4367320268554276` (2.289733608959785` -
0.7936052912509126` (1 + 0.24` z +
0.2` Sin[6.2834` z])^2) + (-45.44` BesselI[0,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])] -
4 (1.386371389484812` +
0.4367320268554276` (2.289733608959785` -
0.7936052912509126` (1 + 0.24` z +
0.2` Sin[6.2834` z])^2) +
0.346592847371203` (1 + 0.24` z +
0.2` Sin[6.2834` z])^2) (4 BesselI[1,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])] (1 + 0.24` z +
0.2` Sin[6.2834` z]) -
4 BesselI[0,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])] (1 + 0.24` z +
0.2` Sin[6.2834` z])^2))/(4 (BesselI[1,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])] -
4 BesselI[0,
2 (1 + 0.24` z + 0.2` Sin[6.2834` z])] (1 + 0.24` z +
0.2` Sin[6.2834` z])^2)) +
0.346592847371203` (1 + 0.24` z + 0.2` Sin[6.2834` z])^2);
ContourPlot[a, {z, 0, 1.5}, {r, 3, 5.5},
PlotPoints -> 180, Frame -> True, FrameStyle -> {Thickness[0.0005]},
Axes -> False, FrameStyle -> {Thickness[0.0005]}, ContourShading -> False]
The output should be a text file.