|
From: helstreak <hel...@ho...> - 2009-01-10 23:01:27
|
not sure if it does, but if you added it to matplotlib then i guess you would
have a one up on gnuplot...
John Hunter-4 wrote:
>
> On Sat, Jan 10, 2009 at 12:50 PM, helstreak <hel...@ho...> wrote:
>>
>> i would only like to plot a certain number of rows...say 50 - 100...how
>> do i
>> do that?
>>
>> Thanks everyone for your help :)
>
> plotfile does not support row limits, but you could simply load the
> data and then plot it, slicing it however you'd like.
>
> import numpy as np
> import matplotlib.pyplot as plt
> x = np.loadtxt('myfile.dat')
> plt.plot(x[50:100])
>
> Does gnuplot support row ranges in plotfile? I could easily add
> them.... I am not a plotfile user so I don't know what people find
> useful there, but limiting the row ranges makes some sense. If I make
> the changes, I'd like to make them maximally gnuplot compatible since
> this was te inspiration for plotfile.
>
>
> JDH
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
View this message in context: http://www.nabble.com/plotfile%3A--would-like-to-certain-number-of-rows...how-do-I-do-that--tp21390622p21393972.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|