I want to plot the results of a 'do' loop as a contour graph:
z = Reap[
Do[
Do[
Sow[
NIntegrate[Sin[a + b*x], {x, -10, 10}]
],
{b, 0, 6, 0.5}
],
{a, 0, 5, 0.5}
]
]
I get a list of values, but I'm not sure of the best way to rearrange everything to be able to plot a b
vs a
contour of z
.
Table
andListContourPlot
be any help? $\endgroup$