I am trying to plot a graph, but I am facing some and the result is not what I expect. I want a graph similar to the below graph
but when I use the below code to