- Timestamp:
- Jan 22, 2016, 6:36:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r682 r683 19 19 pointkindsauto = ['.', ',', 'x', '+', '*', '|', '_', 'o', '<', '>', 'v', '^', \ 20 20 's', 'D', 'p' ,'h' ,'H'] 21 linekindsauto = ['-', '--', '-.', ':'] 21 22 22 23 ####### Funtions … … 5399 5400 5400 5401 def plot_lines_time(vardv, varvv, vaxis, dtit, linesn0, vtit, vunit, tpos, tlabs, \ 5401 gtit, gloc, kfig, coll, ptl, ptf):5402 gtit, gloc, kfig, lsl, coll, ptl, ptf): 5402 5403 """ Function to plot a collection of lines with a time axis 5403 5404 vardv= list of set of dimension values … … 5416 5417 9: 'upper center', 10: 'center' 5417 5418 kfig= kind of figure 5418 coll= ',' list of colors for the lines or None for automatic5419 lsl= ',' list of line styles 5419 5420 coll= ',' list of colors for the lines, None for automatic, single 5420 5421 value all the same … … 5436 5437 linekinds = [] 5437 5438 pointkinds = [] 5439 Nklns = len(linekindsauto) 5438 5440 Nkpts = len(pointkindsauto) 5439 5441 if ptl is None: 5440 5442 if ptf is None: 5441 for ptype in range(4):5443 for il in range(Nklns): 5442 5444 for ip in range(Nkpts): 5443 linekinds.append(pointkindsauto[ptype] + '-')5445 linekinds.append(pointkindsauto[ptype] + linekindsauto[il]) 5444 5446 else: 5445 for ptype in range( 4):5447 for ptype in range(): 5446 5448 for ip in range(Nkpts): 5447 5449 linekinds.append('-')
Note: See TracChangeset
for help on using the changeset viewer.