1
$\begingroup$
{Graphics[{Arrowheads[.1], Arrow[{{0, 0}, {2, 1}}]}], 
Graphics[{Arrowheads[.1], 
Arrow[BezierCurve[{{0, 0}, {1, 1}, {2, 0}}]]}]}

say I have the above code. Can I make the arrows smaller? In other words can I make it smaller relative to the other objects that might be plotted in the same graphics?

$\endgroup$
  • 1
    $\begingroup$ Change x in Arrowheads[x] to change the size. $\endgroup$ – iav Feb 13 '19 at 18:09
  • $\begingroup$ @iav I tried modifying this between a wide range and it didn't help. I think that only works for the arrowheads, but not the shaft. The head gets smaller, but the shaft is not visible. Perhaps I should be looking for something to make the shafts wider and longer while making the head smaller $\endgroup$ – Kizito Nwaka Feb 13 '19 at 18:11
  • 1
    $\begingroup$ The shaft is controlled by Thickness. $\endgroup$ – Henrik Schumacher Feb 13 '19 at 18:29
  • $\begingroup$ Actually, AbsoluteThickness is better than Thickness for correcting rendering visibility problems because it adjusts lines and curves in printer's points and thus independent of object scaling. $\endgroup$ – m_goldberg Feb 13 '19 at 19:42
0
$\begingroup$
Manipulate[
 Graphics[{Arrowheads[a], 
           Thickness[b], 
           Arrow[{{0, 0}, {2, 1}}]}],
 {a, 0, 1},
 {b, 0.01, 0.3}]
| improve this answer | |
$\endgroup$
1
$\begingroup$

Consider this:

GraphicsColumn[
  Graphics[
    {AbsoluteThickness[#],
     {Arrowheads[.1], Arrow[{{0, 0}, {2, 1}}]},
     {Arrowheads[.1], Arrow[BezierCurve[{{0, 0}, {1, 1}, {2, 0}}]]}}] & /@ 
  Range[5]]

arrows

| improve this answer | |
$\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.