Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.1K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Combine graphics with different PlotRange?

Posted 9 years ago

I would like to combine 2 graphics with different plotranges, but the plotranges for each graphic shoudnt change.

As an example:

Show[{
  Graphics[{Yellow, Rectangle[{-1, -1}, {1, 1}]}, 
   PlotRange -> {{-1, 1}, {-1, 1}}],
  Graphics[{Thick, Circle[{0, 0}, 0.9]}, PlotRange -> {{0, 1}, {0, 1}}]
  }]

What I need is this: enter image description here

What I get is this: enter image description here

I didnt found a simple solution for this. It would be great if someone could help me :)

POSTED BY: Juerg Baertsch
3 Replies
POSTED BY: Sander Huisman

You could also using Inset-ing a clipped (using PlotRangeClipping) graphics... I've never tried that...

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