Modified plot function

Now has four panels