1
$\begingroup$

I'm working with version 11 of mathematica.

I have two list of complex numbers and I can plot them with ListPlot, one of these lists of points are in the up right quadrant, and the other list of numbers in the down right quadrant. Two LisPlot named PltX and PltT that work fine. But if I do this: Show [PltX, PltT] it only shows PltX because only shows the up right quadrant
¿How can I force mathematica to show me both quadrants?

(Note: Version 11 has no ComplexPlot)

The code:

One list:

Table[p* 1 + I * 1 * Sqrt[-1 + p^2], {p, 1/Sqrt[2], 10, 0.1}]

Plot:

pltX = ListPlot[(Tooltip[{Re[#1], Im[#1]}] &) /@ %51, 
  AspectRatio -> 1]

The other list:

    Table[Sqrt[p] (-1 + p^2)^(1/4) * 1 - 
  I Sqrt[p] (-1 + p^2)^(1/4) * 1, {p, 1/Sqrt[2], 10, 0.1}]

I plot it:

pltT = ListPlot[(Tooltip[{Re[#1], Im[#1]}] &) /@ %55, 
  AspectRatio -> 1]

And then:

Show [pltX, pltT]

With Show [{pltX, pltT}] doesn't work too

$\endgroup$
  • $\begingroup$ Without any code provided - hard to say. Maybe Show[{PltX, PltT}] helps? $\endgroup$ – mgamer Sep 28 at 9:52
  • $\begingroup$ Ok, I edited it with code. It doesn't work with {} ...:-( $\endgroup$ – Perico Cruel Sep 28 at 10:15
  • 3
    $\begingroup$ Show will use the PlotRange from the first plot. Try setting PlotRange on show, like this: Show[..., PlotRange -> {...}]. $\endgroup$ – C. E. Sep 28 at 10:51
  • $\begingroup$ PlotRange and AspectioRatio solved it. $\endgroup$ – Perico Cruel Sep 28 at 13:02
  • $\begingroup$ To amplify what C.E, stated, in the documentation for Show under Possible Issues the first example states "Show uses the options from the first graphic" $\endgroup$ – Bob Hanlon Sep 28 at 16:07
1
$\begingroup$

Just like C.E commented it worked with PlotRange:

Show [pltT, pltX,  PlotRange -> {-20, 20}, AspectRatio -> 1]
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.