Creation of good plot with formula