# Plot Question using Show\[\] function with different domain ranges

**URL:** <https://community.wolfram.com/t/plot-question-using-show-function-with-different-domain-ranges/16930>\
**Category:** Questions\
**Tags:** algebra, graphics-and-visualization\
**Created:** [October 27, 2020, 6:02pm UTC](https://community.wolfram.com/t/plot-question-using-show-function-with-different-domain-ranges/16930 "2020-10-27T18:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masandlin](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@masandlin](https://community.wolfram.com/u/masandlin)\
**Post date:** [October 27, 2020, 6:02pm UTC](https://community.wolfram.com/t/plot-question-using-show-function-with-different-domain-ranges/16930/1 "2020-10-27T18:02:16Z")

</div>

My goal is to display the inverse trigonometric function of ArcCos and Cos through a specific x range of 0 to Pi for Cos and -1 to 1 for the ArcCos since those domain ranges will pass the horizontal line test as being one-to-one and thus inverses within that domain.

I do not have any problem plotting Cos and ArcCos individually as shown below in the following two plots - see attached.

However when I try to combine the two plots using the Show[] function, as displayed in the last plot, the results are far from desirable.

I have tried a bunch of different configurations and various options, but so far nothing has seemed to correct the problem so I decided to reach out to the community for help. Undoubtedly it is something that I am not doing correctly and I would appreciate someone in the community showing me the correct way of handling this sort of situation.

Thanks,

Mitch Sandlin

[PlotQuestion.nb](https://community.wolfram.com/uploads/short-url/jimxMjCy0PYuDCYN7xRzKlyjqiN.nb) (32.4 KB)

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [October 27, 2020, 6:28pm UTC](https://community.wolfram.com/t/plot-question-using-show-function-with-different-domain-ranges/16930/2 "2020-10-27T18:28:28Z")

</div>

The Show command adopts the `PlotRange` from the first plot, which can be annoying. You can impose your own `PlotRange` that covers your whole range of interest:

```
Show[Plot[ArcCos[x], {x, -1, 1}], Plot[Cos[x], {x, 0, \[Pi]}], 
 PlotRange -> All, AspectRatio -> Automatic]

```
