# [✓] Combine 3 figures together?

GROUPS:
 I want to combine those 3 figures together be this problem appear to me plot = Show[ LineIntegralConvolutionPlot[{{y, -y - 2 x - 2}, {"noise", 500, 500}}, {x, -3, -1}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], LineIntegralConvolutionPlot[{{y, -y}, {"noise", 500, 500}}, {x, -1, 1}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], LineIntegralConvolutionPlot[{{y, -y - 2 x + 2}, {"noise", 500, 500}}, {x, 1, 3}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], PlotRange -> {{-3, 3}, {-4, 4}}]] 
5 months ago
4 Replies
 There is one extra square bracket at the end. If it's deleted, then: Show[ LineIntegralConvolutionPlot[{{y, -y - 2 x - 2}, {"noise", 500, 500}}, {x, -3, -1}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], LineIntegralConvolutionPlot[{{y, -y}, {"noise", 500, 500}}, {x, -1, 1}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], LineIntegralConvolutionPlot[{{y, -y - 2 x + 2}, {"noise", 500, 500}}, {x, 1, 3}, {y, -4, 4}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], PlotRange -> {{-3, 3}, {-4, 4}}] 
 Valeriu Ungureanu 3 Votes May be this piece of code is more appropriate: Show[ LineIntegralConvolutionPlot[{Piecewise[{{{y, -y - 2 x - 2}, -4 <= x <= -1}, {{y, -y}, -1 <= x <= 1}, {{y, -y - 2 x + 2}, 1 <= x <= 4}}], {"noise", 500, 500}}, {x, -3, 3}, {y, -5, 5}, ColorFunction -> "Rainbow", LightingAngle -> 0, LineIntegralConvolutionScale -> 3, Frame -> False], PlotRange -> {{-3, 3}, {-5, 5}}]