Message Boards Message Boards

Create a scatter plot with 2 coordinate systems, one is rotated by theta?

Posted 7 years ago

enter image description here

How to create a coordinate system as in the picture?

POSTED BY: Khalid Aram
3 Replies

Khalid,

Try looking at the documentation for Inset, this probably does what you need:

https://reference.wolfram.com/language/ref/Inset.html

Here is a basic example of a Graphics[] object rotated with Inset at various angles:

Graphics[
 Table[
  Inset[Graphics[{RandomColor[], Circle[{0, 0}, {1, 0.5}]}, 
    Axes -> True, PlotRange -> 1], Center, Center, 
   Scaled[1], {Cos[p], Sin[p]}],
  {p, 0, \[Pi], \[Pi]/20}]]

enter image description here

POSTED BY: Arnoud Buzing

Inset is a very neat way of doing it, I didn't know it could rotate! This will, most likely, be the easiest solution!

POSTED BY: Sander Huisman

Please read this: http://community.wolfram.com/groups/-/m/t/270507

Especially bullet point #5

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract