title: What is the best way to plot multiple ODE solutions on the same graphic in Julia?
body: <p>I have an ODE and wanted to solve it and plot the solution for some initial conditions. At the beginning, I decided to make a &quot;for&quot; to increase the value of the initial condition and then plot the solution, one on top of the other.</p>
  <pre><code>using DifferentialEquations, Plots
  
  for i = -2.00:0.25:2.00
      f(x,p,t) = x-x^3
      x0 = i
      tspan = (0.00,2.00)
      prob = ODEProblem(f,x0,tspan)
      sol = solve(prob)
      if i==-2.00
          plot(sol,linewidth=4, title=&quot;Solution&quot;,
               xaxis=&quot;t&quot;,yaxis=&quot;x(t)&quot;,legend=false)
      else
          plot!(sol,linewidth=4, title=&quot;Solution&quot;,
              xaxis=&quot;t&quot;,yaxis=&quot;x(t)&quot;,legend=false)
      end
  end
  savefig(&quot;Graphic.png&quot;)
  
  </code></pre>
  <p>Is there a better way to do this?</p>