def linestyle(i,a=<NUM_LIT:5>,b=<NUM_LIT:3>):
lines=['<STR_LIT:->','<STR_LIT>','<STR_LIT>','<STR_LIT::>']<EOL>points=['<STR_LIT:v>','<STR_LIT>','<STR_LIT:<>','<STR_LIT:>>','<STR_LIT:1>','<STR_LIT:2>','<STR_LIT:3>','<STR_LIT:4>','<STR_LIT:s>','<STR_LIT:p>','<STR_LIT:*>','<STR_LIT:h>','<STR_LIT:H>','<STR_LIT:+>','<STR_LIT:x>','<STR_LIT:D>','<STR_LIT:d>','<STR_LIT:o>']<EOL>colors=['<STR_LIT:b>','<STR_LIT:g>','<STR_LIT:r>','<STR_LIT:c>','<STR_LIT:m>','<STR_LIT:k>']<EOL>ls_string = colors[sc.mod(i,<NUM_LIT:6>)]+lines[sc.mod(i,<NUM_LIT:4>)]+points[sc.mod(i,<NUM_LIT>)]<EOL>mark_i    = a+sc.mod(i,b)<EOL>return ls_string,int(mark_i)<EOL>
provide one out of 25 unique combinations of style, color and mark

use in combination with markevery=a+mod(i,b) to add spaced points,
here a would be the base spacing that would depend on the data
density, modulated with the number of lines to be plotted (b)

Parameters
----------
i : integer
    Number of linestyle combination - there are many....
a : integer
    Spacing of marks.  The default is 5.
b : integer
    Modulation in case of plotting many nearby lines.  The default
    is 3.

Examples
--------

>>> plot(x,sin(x),linestyle(7)[0], markevery=linestyle(7)[1])


(c) 2014 FH