From: Sourav C. <sr...@gm...> - 2013-11-23 12:27:17
|
Hi, I have simple xy plot using below. import matplotlib.pyplot as pl pl.plot([2005.8,2005.4,2005.2,2005,2004.9,2004.8,2004.7,2004.6,2004.5,2004.4,2004.3,2004.2,2004.1,2004],[33.2637,32.4243,58.271,89.3454,21.7372,31.6301,36.6301,13.117,31.6689,17.6246,7.4627,8.7094,5.782,6.3461],'ko-') pl.axis([2004,2005.8,0,100]) pl.show() I want on my x-axis only the points specified in pl.plot. Is there any way? -- thanks Sourav |