I used ListContourPlot to specify an area for which the function value is less than a number. For example consider the following areas:
plot1 = ListContourPlot[
Table[Sin[i + j^2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}],
RegionFunction -> Function[{x, y, z}, z < 1], PlotRange -> {0, 1},
DataRange -> {{0, 3}, {0, 3}}]
plot2 = ListContourPlot[
Table[Cos[i + j^2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}],
RegionFunction -> Function[{x, y, z}, z < 0.7]
, PlotRange -> {0, .7}, DataRange -> {{0, 3}, {0, 3}},
ColorFunction -> ColorData["BlackBodySpectrum"]]
How can I specify the common areas of these two parameter spaces in a plot?
RegionPlot doesn't give the common area:
RegionPlot[
Sin[i + j^2] < 1 && Cos[i + j^2] < 0.7, {i, 0, 3}, {j, 0, 3},
PlotPoints -> 80, Mesh -> 2,
ColorFunction ->
Function[{x, y}, ColorData["SolarColors"][Sin[x^2 + y]]],
PlotRange -> {0, 2},
MeshFunctions -> {Sin[#1^2 + #2] &, Abs@Cos[#1^2 + #2] &}]
Because RegionPlot uses i and j which change continuously but ListContourPlot uses only certain number of data:
{i, 0, 3, 0.1}, {j, 0, 3, 0.1}