Hello Krishna,
This is really crazy ploting so many data point, after all the human
eye can't separate all the data.
Try sampling the vector of the data point - to a smaller extent.
Here's a quick and dirty solution how to sample every nth element in a
vector - there's probably a faster way, with out loops, but this works
for now
$ python
Python 2.5.5 (r255:77872, Feb 1 2010, 19:53:42)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from nupmy import arange
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named nupmy
from numpy import arange
a=arange(1,15)
a
array([ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14])
from numpy import zeros
a_sampled=zeros(5)
a_sampled
array([ 0., 0., 0., 0., 0.])
range(0,15,5)
[0, 5, 10]
range(0,15,3)
[0, 3, 6, 9, 12]
fileter_indecies=range(0,15,3)
for i in range(len(a_sampled)):
... a_sampled[i]=a[fileter_indecies[i]]
...
a_sampled
array([ 1., 4., 7., 10., 13.])
I hope it helps
···
--
Oz Nahum
Graduate Student
Zentrum für Angewandte Geologie
Universität Tübingen
---
Imagine there's no countries
it isn't hard to do
Nothing to kill or die for
And no religion too
Imagine all the people
Living life in peace