2
$\begingroup$

By applying AxesStyle -> Arrowheads[{0.0, 0.05} we can make the appearance of the axis with an arrow at the extremities as follow :

Plot[1/x^5, {x, -20, 20}, AxesStyle -> Arrowheads[{0.0, 0.05}], 
     ImagePadding -> None]

Now, I want to make the axis thick at the same time.

The solutions I found use an AxesStyle rule, but I don't know how to cumulate two rules simultaneously.

$\endgroup$

1 Answer 1

4
$\begingroup$

Use Directive to combine multiple styling directives.

Plot[1/x^5, {x, -20, 20}, 
 AxesStyle -> Directive[Thick, Arrowheads[{0.0, 0.05}]], 
 ImagePadding -> None]

Directive

$\endgroup$

Your Answer

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

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