1
$\begingroup$

I plot two picture one with the option "AxesStyle -> Arrowheads[{0.0, 0.05}" like this:

fig1 = Plot[Sin[x], {x, -2 \[Pi], 2 \[Pi]},AxesStyle -> Arrowheads[{0.0, 0.05}]]
fig2 = Plot[Sin[x], {x, -2 \[Pi], 2 \[Pi]}]

enter image description here

When I put these two pictures together:

GraphicsGrid[{{fig1, fig2}},Frame -> All, ImageSize -> Large]

the output is: enter image description here Why the plot with the option "AxesStyle -> Arrowheads[{0.0, 0.05}]" fail to display?

How to fix it?

$\endgroup$
1
$\begingroup$

I do not know why, but using Grid instead of GraphicsGrid fixes the problem (at least in V.11.2).

fig1 = Plot[Sin[x], {x, -2 \[Pi], 2 \[Pi]}, 
   AxesStyle -> Arrowheads[{0.0, 0.05}], ImageSize -> Medium];
fig2 = Plot[Sin[x], {x, -2 \[Pi], 2 \[Pi]}, ImageSize -> Medium];
Grid[{{fig1, fig2}}, Frame -> All]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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