4
$\begingroup$

In the Mathematica Book 5 there is an example under Graphics and Sound. First they generate 3 plots and then display them like so:

Show[GraphicsArray[{{gh0, gjy},{gj1, gjy}]]

I realize that GraphicsArray has been replaced by GraphicsGrid. So the previous expression now is:

Show[GraphicsGrid[{{gh0, gjy},{gj1, gjy}]]

The next step is:

Show[%, Frame->True, FrameTicks-> None]

This should put a frame around the whole array of plots. Instead I get this:

enter image description here

I don't want that box in the middle. I wast a frame around the whole Array. How is this now done?

$\endgroup$
1
  • $\begingroup$ plot = Plot[x Sin[# x], {x, 0, 2 Pi}] & /@ Range[4]; Multicolumn[plot, 2, Frame -> True] $\endgroup$ Dec 5, 2018 at 0:05

1 Answer 1

6
$\begingroup$

Use the option Frame in GraphicsGrid:

{gh0, gjy, gj1, gjy} = Plot[x Sin[# x], {x, 0, 2 Pi}] & /@ Range[4];
GraphicsGrid[{{gh0, gjy}, {gj1, gjy}}, Frame -> True]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.