code: def plot_sol(params, linestyle="b-"):
      import matplotlib.pyplot as plt
  
      s0 = ForwardMogiFactory(params[0:4])
      s1 = ForwardMogiFactory(params[4:])
      xx = arange(-500, 500, 1) + 1250.0
      yy = 0 * xx - 200.0
      ss = array((xx, yy))
      dd = s0(ss) + s1(ss)
      plt.plot(ss[0, :], -dd[2, :], "%s" % linestyle, linewidth=2.0)
      plt.draw()
      plt.pause(0.001)
  
imports: from test_mogi import *
label_desc: Use image node_id 3 for calling a global function with example usage: plot_sol(params, linestyle) without return types