[Matplotlib-users] Linecollection, labels

2011-04-13 Thread Tim Åberg
Due to that my first question a couple of day back was a mess i thougth i could clear things up. Is there any way to label the lines using linecollection. In plot there is label, example; plot(x,y,label = Hello) But are there any way to do the same thing with linecollection? If not, is there

[Matplotlib-users] Lable lines

2011-04-11 Thread Tim Åberg
Hello! I have written a temprature logger using mathplotlib, i take in a list of multiple lines and print them out with Linecollection, i also supply a list of colors. Now to the the question, what is the best way (function) to explain to the user what line in the graph that correspond to

Re: [Matplotlib-users] Formatter dates

2010-11-23 Thread Tim Åberg
17, 2010 at 2:29 AM, Tim Åberg qw...@hotmail.com wrote: Hello! I have now been tampering with a custom formatter and the more i think about it the more i feel there must be a more easy soulution. I have a set of values that are plotted over time (i use date2num, to get the conversion

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg qw...@hotmail.com wrote: Hello! I have now been tampering with a custom formatter and the more i think about it the more i feel there must be a more easy soulution. I have a set of values that are plotted over time (i use date2num, to get

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
) * X. // Tim From: jdh2...@gmail.com Date: Wed, 17 Nov 2010 05:55:04 -0600 Subject: Re: [Matplotlib-users] Formatter dates To: qw...@hotmail.com CC: matplotlib-users@lists.sourceforge.net On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg qw...@hotmail.com wrote: Hello! I have now been

[Matplotlib-users] Formatter dates

2010-11-17 Thread Tim Åberg
Hello! I have now been tampering with a custom formatter and the more i think about it the more i feel there must be a more easy soulution. I have a set of values that are plotted over time (i use date2num, to get the conversion from date to num), i also have a list with dates that

Re: [Matplotlib-users] Formatter dates

2010-11-17 Thread Tim Åberg
Nov 2010 09:55:13 +0100 Subject: Re: [Matplotlib-users] Formatter dates From: pgmdevl...@gmail.com To: qw...@hotmail.com Tim, have you tried the scikits.timeseries package? Its plotting capacities, albeit limited, may be helpful in your case... On Nov 17, 2010 9:31 AM, Tim Åberg qw...@hotmail.com

Re: [Matplotlib-users] Linecollection, Dates on X-axis

2010-11-12 Thread Tim Åberg
Thats seems to be what im after, diffrent resolution but that would be a easy fix i guess :) Did you manage to run the example? i got a; datafile = cbook.get_sample_data('msft.csv', asfileobj=False) AttributeError: 'module' object has no attribute 'get_sample_data' error Subject: RE: