رسم نمودارهای مثبت و منفی در Matplotlib در ادامه یک نمونه کد برای رسم نمودارهایی که مقادیر مثبت و منفی با رنگ های مختلف نمایش داده شده اند با استفاده از کتابخانه matplotlib قرار داده شده است.
import matplotlib.pyplot as plt x = range(7) data_pos = [1,0,3,0,6,2,0] data_neg = [0,-2,0,-6,0,0,-2]
رسم نمودارهای مثبت و منفی در Matplotlib در ادامه یک نمونه کد برای رسم نمودارهایی که مقادیر مثبت و منفی با رنگ های مختلف نمایش داده شده اند با استفاده از کتابخانه matplotlib قرار داده شده است.
import matplotlib.pyplot as plt x = range(7) data_pos = [1,0,3,0,6,2,0] data_neg = [0,-2,0,-6,0,0,-2]
However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.