I would like to draw this , by using "for" with this
based on the value of YData Frame. How can I write the code using matplotlib? Or is there any better s