Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    $\begingroup$ Using inset also makes it possible to locate the cross anywhere: a = 0.2; t = 6; Graphics[{Circle[], Inset[Graphics[{AbsoluteThickness[t], Line[{{-a, -a}, {a, a}}]}], {1, 0}, Center, 2 a], Inset[Graphics[{AbsoluteThickness[t], Line[{{-a, a}, {a, -a}}]}], {1, 0}, Center, 2 a]}, Frame -> True, ImageSize -> 250] shifts the cross to the right. $\endgroup$ Commented Feb 5, 2013 at 15:42
  • $\begingroup$ Just out of interest: why does the cross stay symmetrically if I combine it with a plot with differently scaled axes? Doesn't the a refer to the values of the x and y values where the lines of the cross end? $\endgroup$ Commented Feb 5, 2013 at 16:00
  • 1
    $\begingroup$ @Apatura - You could add aspect ratios to the insets, or scale them as shown in the addendum to my post. $\endgroup$ Commented Feb 5, 2013 at 18:28
  • $\begingroup$ Interestingly, the green cross is not offset on Mac OSX. $\endgroup$ Commented Feb 5, 2013 at 18:30
  • $\begingroup$ Thank you very much, your answer definitely helped me understanding the use of the Graphics and Inset options. $\endgroup$ Commented Feb 5, 2013 at 22:05