how can i plot hysteresis in matplotlib?,"ax.scartter(XS, YS, ZS)"