You could define the overlay data for the whole length and mask out the irrelevant part using numpy.ma.
You could also just plot the two parts separately using the appropriate length of the x coordinate. Xa = range (1,10) Xb = range (100, 110) plot (Xa, data1) plot (Xb, data2) On 31 May 2015 00:42, "peter" <commercial...@yahoo.de> wrote: > hi, > > > ive got a graph which should be overlayed with something, but the > overlay graph isnt defined for all x > values. > > for example, overlay goes from x=1 to 1=10, then pauses for 100 and then > continues with 10 values. > how do you do that? > > > greetings > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users