0
$\begingroup$

How do you add an arrow as in the picture, with some text next to it?

 LogLogPlot[{x^-2, x^-3}, {x, 0.001, 100}, PlotRange -> Full]

enter image description here

I tried with:

  Show[LogLogPlot[{x^-2, x^-3}, {x, 0.001, 100}, PlotRange -> Full], 
  Graphics[Arrow[{{0.01, 0.01}, {10, 10^6}}]]]

enter image description here

Why is the arrow going so high? Aren't the starting and ending points defined well?

$\endgroup$
6
  • 3
    $\begingroup$ Have you seen Arrow[], Text[], and Epilog? $\endgroup$ Commented May 22, 2017 at 14:05
  • $\begingroup$ @J.M. I have seen Arrow[] but didn't get what I wanted. I will look for Epilog and let you know $\endgroup$
    – Andrea G
    Commented May 22, 2017 at 14:15
  • $\begingroup$ "didn't get what I wanted" - then, can you edit your question to explain why you had trouble with Arrow[]? $\endgroup$ Commented May 22, 2017 at 14:16
  • 3
    $\begingroup$ Use Arrow[Log@{{0.01, 0.01}, {10, 10^6}}] underlying coordinates are different. $\endgroup$
    – Kuba
    Commented May 22, 2017 at 14:27
  • 2
    $\begingroup$ In general: lines or polygons in log plots $\endgroup$
    – Kuba
    Commented May 22, 2017 at 14:30

0

Browse other questions tagged or ask your own question.