감동, 마음이 움직이는 것

[mathematica] GraphicsGrid - multiplot mode와 같음 본문

Tips (Utility, Computer Language, and etc.)

[mathematica] GraphicsGrid - multiplot mode와 같음

Struggler J. 2018. 4. 19. 20:33

[ref] http://reference.wolfram.com/language/ref/GraphicsGrid.html

GraphicGrid를 사용하면 multiplot mode처럼 그림을 그릴 수 있다. 


GraphicsGrid[{

{ContourPlot[ f  (1 - f) p (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f  (1 - f) p , {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f  (1 - f) (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f  (1 - f) , {u, 0, 1}, {v, 0, 1 - u}]},

  {ContourPlot[f p (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f p , {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f  (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[f, {u, 0, 1}, {v, 0, 1 - u}]},

  {ContourPlot[(1 - f) p (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[ (1 - f) p , {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[(1 - f) (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[(1 - f) , {u, 0, 1}, {v, 0, 1 - u}]},

  {ContourPlot[ p (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[ p , {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[  (1 - p), {u, 0, 1}, {v, 0, 1 - u}],

   ContourPlot[1, {u, 0, 1}, {v, 0, 1 - u}]}

}]