On Thu, Jul 28, 2011 at 5:41 AM, denoise <hubert.g...@partner.bmw.de> wrote:
>
> Hi there,
>
> i'd like to plot a data series with signal values over timestamps, what
> works perfectly. But if I want to display 2 series with different time
> domains, theres a gap in between.
> For example my first set of data is from time (x) 1-3 and the second from
> 7-8. If I send the mixed array to the plot, I will receive something like
> that:
>
> y|    x x x         x x x
> x| 0 1 2 3 4 5 6 7 8 9 10 11
>
> But if there is considerably more time between the to data sets, it soon
> will look confusing.
> What i need is a graph over this:
>
> y| x x x   x x x
> x| 1 2 3  7 8 9
>
> Of course I could do this with 2 subplots, but i want to scroll over a whole
> set of data.
> Is it possible wih matplotlib, or is there a workaround?


There are a couple examples here:
    
http://stackoverflow.com/questions/5656798/python-matplotlib-is-there-a-way-to-make-a-discontinuous-axis


Warren



>
> Thanks!
> Hubert
>
> --
> View this message in context: 
> http://old.nabble.com/plot-with-discontinuous-x-axis-tp32155499p32155499.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to