rk4odes/rk4.py
def graph(self, *args, **kwargs):
        """
        Solution Graph with values obtained from each iteration.
        """

        plt.title("Graph of functions")
        plt.plot(self.ts, self.ys, label="$y(t)$", *args, **kwargs)
        plt.plot(self.ts, self.us, label="$y'(t)$", *args, **kwargs)
        plt.legend()
        plt.grid()
        plt.xlabel("$ t $")
        plt.ylabel("$ y \quad | \quad y'$")
        plt.show()

        Solution Graph with values obtained from each iteration.
        
Solution Graph with values obtained from each iteration.
Solution Graph with values obtained from each iteration .
def graph(self, *args, **kwargs):
        plt.title("Graph of functions")
        plt.plot(self.ts, self.ys, label="$y(t)$", *args, **kwargs)
        plt.plot(self.ts, self.us, label="$y'(t)$", *args, **kwargs)
        plt.legend()
        plt.grid()
        plt.xlabel("$ t $")
        plt.ylabel("$ y \quad | \quad y'$")
        plt.show()
def graph ( self , * args , ** kwargs ) : plt . title ( "Graph of functions" ) plt . plot ( self . ts , self . ys , label = "$y(t)$" , * args , ** kwargs ) plt . plot ( self . ts , self . us , label = "$y'(t)$" , * args , ** kwargs ) plt . legend ( ) plt . grid ( ) plt . xlabel ( "$ t $" ) plt . ylabel ( "$ y \quad | \quad y'$" ) plt . show ( )
Solution Graph with values obtained from each iteration.
Solution Graph with values obtained from each iteration .
"""
        Solution Graph with values obtained from each iteration.
        """
self