plot two data sets on gnuplot
¶}¾Ç¤F¶Ü?
casio.bbs at redbbs.cc.ntut.edu.tw
Mon May 10 10:29:03 EDT 2004
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='candlestick')
d2=Gnuplot.Data(self.days,self.volume,with='boxes')
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
More information about the Python-list
mailing list