Esempio n. 1
0
def plotDisp(varnames,fname='rel_disp.out'):
    cols = []
    for name in varnames:
        dispType = name[0]
        node = int(name[1:])
        cols.append( 6*(node-1) + colMap[dispType] )
    plotcols.plot(fname,cols,varnames,xname='t',title=fname)
Esempio n. 2
0
def plotLoad(varnames,fname='load.out'):
    cols = []
    for name in varnames:
        loadType = name[0]
        loadDir  = name[1]
        beamSegment = int(name[2:])
        cols.append( 6*(beamSegment-1) + colMap[loadType+loadDir] )
    plotcols.plot(fname,cols,varnames,xname='t',title=fname)