예제 #1
0
    def plotGraphs(self, rhoNo=1, phiNo=1, tfNo=1):
        dataset = Dataset(rhoNo, phiNo, tfNo)
        graphFigure = GraphFigure(self.texDimSizes)

        summaries = self.createSummaries(dataset)

        if len(summaries[ModelType.DIRECT]) == 1:
            self.duplicateDirectSummary(summaries)

        graphFigure.graphSummaries(summaries[ModelType.VOXEL], 'Voxel')
        graphFigure.show()
예제 #2
0
파일: main2.py 프로젝트: sveinungf/IsoGeo2D
    def plotGraphs(self, rhoNo=1, phiNo=1, tfNo=1):
        dataset = Dataset(rhoNo, phiNo, tfNo)
        graphFigure = GraphFigure(self.texDimSizes)

        summaries = self.createSummaries(dataset)

        if len(summaries[ModelType.DIRECT]) == 1:
            self.duplicateDirectSummary(summaries)

        graphFigure.graphSummaries(summaries[ModelType.DIRECT], 'Direct')
        graphFigure.graphSummaries(summaries[ModelType.VOXEL], 'Voxel')
        graphFigure.graphSummaries(summaries[ModelType.BOUNDARYACCURATE], 'Boundary accurate')
        graphFigure.graphSummaries(summaries[ModelType.HYBRID], 'Hybrid')
        graphFigure.graphSummaries(summaries[ModelType.BAHYBRID], 'Hybrid (BA)')
        graphFigure.show()