Re: [Matplotlib-users] datestr2num of year and month

2013-09-19 Thread Goyo
2013/9/19 Mark Bakker : > Hello List, > > When I use datestr2num('2010-05') it nicely converts that to a number > representing the date. > When I convert that number back with num2date, it turns out it sets the day > to the 19th of the month. The dime is 0:00:00. > Any reason it is set to the 19th

[Matplotlib-users] datestr2num of year and month

2013-09-19 Thread Mark Bakker
Hello List, When I use datestr2num('2010-05') it nicely converts that to a number representing the date. When I convert that number back with num2date, it turns out it sets the day to the 19th of the month. The dime is 0:00:00. Any reason it is set to the 19th instead of the first? Maybe because t

Re: [Matplotlib-users] How to control the y feedback value?

2013-09-19 Thread Sterling Smith
Skip, I assume that you are using a twinx call to get the second y axis. I think that this question has come up before, and I think the solution was to switch which data are put on the second set of axes. (Of course to keep the same visual layout you would have to play with the y axis spine l

Re: [Matplotlib-users] How to control the y feedback value?

2013-09-19 Thread Sterling Smith
On Sep 19, 2013, at 10:14AM, Skip Montanaro wrote: > >> Separately, if your blue data are so quantized, you might use the blue data >> to choose a color for an axvspan (or axhspan, I forget which is which) to >> indicate how certain regions of time have different values of blue data. >> Then

Re: [Matplotlib-users] How to control the y feedback value?

2013-09-19 Thread Skip Montanaro
> I assume that you are using a twinx call to get the second y axis. I think > that this question has come up before, and I think the solution was to switch > which data are put on the second set of axes. (Of course to keep the same > visual layout you would have to play with the y axis spine

[Matplotlib-users] dynamic plottinng

2013-09-19 Thread Bruno Pace
Hi all, I am trying to plot the time evolution of a probability distribution, but I don't know how to use it. I have a different histogram for each time step. I tried plt.ion() but I'm not sure how to use it. I'm sure it must be a simple solution, but I haven't really found out how to do it! If I