0

Simple question which is bugging me quite a bit.

In maple I'm trying to graph 3 normal distributions, each one being a shift of the other.

I run the following code in maple and then get the following plot

plots[multiple](plot, [exp(-(x-4)^2), x = -5 .. 5], [exp(-(x-12)^2), x = -5 .. 5], [exp(-(x-20)^2), x = -100 .. 100]);

enter image description here

Which is an issue. I don't see what I did wrong. Can someone shed light on this?

amWhy
  • 210,739
Vogtster
  • 693
  • 5
  • 21

1 Answers1

1

I think you should change the intervals:

[> with(plots):
   a := plot(exp(-(x-4)^2), x = -5 .. 15, color = blue):
   b := plot(exp(-(x-12)^2), x = -5 .. 15, color = red):
   c := plot(exp(-(x-20)^2), x = -10 .. 30, color = green):
   display(a, b, c);

enter image description here

Mikasa
  • 67,942