<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="midpan.2007.01.31.16.01.58.244097@gmx.net" type="cite">
  <blockquote type="cite">
    <pre wrap="">I would love that,
but please tell me how (I need an integer counter for something else too):

def chunk_plot(*args):
    if len(args) == 1:  list = args[0]
    else:               list = args
 
    color = ['g','r','b','y','m']
    plot ( list[0], color[0])
    hold (True)
    for i in range  (  1,  len(list)  ):
         plot  (  list[i],  color[i]  )
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No need for the counter here.

for args in zip(list[1:], color[1:]):
    plot(*args)

  </pre>
</blockquote>
that looks nice, thanks!<br>
All the other people also thanks, "enumerate" looks also better than
range(len(  nice !<br>
<blockquote cite="midpan.2007.01.31.16.01.58.244097@gmx.net" type="cite">
  <pre wrap="">Ciao,
        Marc 'BlackJack' Rintsch
  </pre>
</blockquote>
<br>
</body>
</html>