Re: [Matplotlib-users] plot with discontinuous x-axis
Great! The last post from the page http://stackoverflow.com/questions/5656798/python-matplotlib-is-there-a-way-to-make-a-discontinuous-axis was exactly what i want! It should work for me with some little modifications! Thanks to all! I'll post a screenshot when it's ready! Hubert Warren Weckesser-3 wrote: 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 -- View this message in context: http://old.nabble.com/plot-with-discontinuous-x-axis-tp32155499p32177325.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] plot with discontinuous x-axis
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? 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
Re: [Matplotlib-users] plot with discontinuous x-axis
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
Re: [Matplotlib-users] plot with discontinuous x-axis
Warren Weckesser, on 2011-08-01 09:49, wrote: There are a couple examples here: http://stackoverflow.com/questions/5656798/python-matplotlib-is-there-a-way-to-make-a-discontinuous-axis I was going to say: Damn those stackoverflow cool kids, reinventing the wheel when we already have an example for this in git: https://github.com/matplotlib/matplotlib/blob/master/examples/pylab_examples/broken_axis.py but now I see that's exactly the example that's the top answer, there, heh. best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 signature.asc Description: Digital signature -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users