Table of Contents
TOC loading...
Matplotlib Tutorial
Matplotlib Tutorial
Matplotlib Step Plot in Hindi
Step Plot
Step Plot एक ऐसा graph है जिसमे data points को step-wise connect किया जाता है, ये mainly तब use होता है जब data एक interval में constant रहता है।

How to draw Step Plot in Matplotlib
Matplotlib में step() function का use करके Step plot को बनाया जाता है।
Important Parameters of step() Function
where : ये decide करता है कि step का vertical jump x-point के पहले, बीच में या बाद में आएगा, इसमे “pre” (पहले के लिए), “mid” (बीच के लिए) या “post” (बाद के लिए) assign किया जाता है।
For Example: plt.step(x, y, where=’mid’)