I'm trying to write a script to pass a file of stock prices and volumes,
and plot the results on a gnuplot graph which is non-overlapped graph.
Fig. 1
------------
Fig. 2
Figure 1 is a graph of stock prices, and Figure 2 is a graph of stock volumes,
I'm trying to implement it as following codes,
g = Gnuplot.Gnuplot ()
d1=Gnuplot.Data (self.days,self .open,self.high ,self.low,self. close,
with='candlesti ck')
d2=Gnuplot.Data (self.days,self .volume,with='b oxes')
g.plot(d1,d2)
If anyone can get me back on track I'd appreciate it.
--
¡°Orgin : National Taipei University of Technology
Taiwan, Republic of China [redbbs.cc.ntut. edu.tw 140.124.6.202]
¡°FROM : 140.124.6.248
Comment