Suppose I have the following function:
DC[x_, y_] := 3 x - y
sigma[x_, y_, z_, d_] := 3 DC[x, y] + 5 z + d
I made list of sigma[x, y, 3, 3]
versus x
with a condition on DC[x,y]
by:
T = Table[{x, If[-50 < DC[x, y] < 50, sigma[x, y, 2, 3]]},
{x, -5, -2,1},{y,2, 6, 1}];
Then
ListPlot[T]
gives:
The problem, I don't want a graph like the previous one, alternatively, I 'd like to make a graph like:
with the area between lines shaded
,i.e., I'd like to plot the region between the maximum and minimum scatter points of the function ..
Like for instance this plot:
I think I should use from beginning some command rather than ListPlot, like RegionPlot ?