3
$\begingroup$

I have three tables: L, S and U. In first table I have values from range (0,1), in second from (0,2*10^27) and in the third one from (0,50). No I want to plot all this three tables (tables have the same domain) together. But because of a very different range, I see for example only values for U, and rest are just like a small points very near to axes x. I was trying to use ImageCompose, because I have mathematica 7, so I can't use Overlay, but this functions are only for two plots. Is any other solution how can I plot this three functions together and make the plot more legible?

$\endgroup$
  • 2
    $\begingroup$ How about plotting {L, S/(2 10^27), U/50} ? $\endgroup$ – A.G. Dec 28 '13 at 22:35
5
$\begingroup$

It is all about rescaling, - visual with Overlay or @A.G. idea in the comment. So:

L = Abs[Rescale[Accumulate[RandomInteger[{-1, 1}, 1000]]]];
S = 2 10^27 Abs[Rescale[Accumulate[RandomInteger[{-1, 1}, 1000]]]];
U = 50 Abs[Rescale[Accumulate[RandomInteger[{-1, 1}, 1000]]]];

ListPlot[Rescale /@ {L, S, U}, Joined -> True]

enter image description here

$\endgroup$
  • $\begingroup$ I just don't understand, why you made: S = 50 Abs[Rescale[Accumulate[RandomInteger[{-1, 1}, 1000]]]];, because S is from (0;2*10^27) $\endgroup$ – Ziva Dec 29 '13 at 12:05
  • $\begingroup$ @Ziva A typo, corrected. $\endgroup$ – Vitaliy Kaurov Dec 29 '13 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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