Skip to content

ADV.TUT.01 B

Sunil Anandatheertha edited this page Jul 3, 2021 · 3 revisions

Moving on from HERE, you can use PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1(ARG1, ARG2,...) to plot some visualizations.

ARG1 could be GrainAreaDistribution_hist_plotMarkup_sjkhvbke78, GrainDiameterDistribution_hist_plotMarkup_sjkhvbke78, numNeighDistribution_hist_plotMarkup_sjkhvbke78, ShapeFactor_hist_plotMarkup_sjkhvbke78, or AspectRatio_hist_plotMarkup_sjkhvbke78.

Each option having _hist_ will plot the histogram. Currently, onlyu first and last available temporal instance data is plotted, for the total number of trials performed. For example, if 8 trials of MC simulations are performed, each for 100000 MC steps, with a tewmporal instance written every 5000 MC steps, then there will be 8 histograms for the grain structure parameter at 5000th MC step and 8 for the same parameter at 100000th MC step.

Example usages are below:

PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1('GrainAreaDistribution_hist_plotMarkup_sjkhvbke78', MCSlices, TOTAL_TRIALS, GrainSizes_mtex_TRIALS, [])
PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1('GrainDiameterDistribution_hist_plotMarkup_sjkhvbke78', MCSlices, TOTAL_TRIALS, equivalentRadius_mtex_TRIALS, [])
PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1('numNeighDistribution_hist_plotMarkup_sjkhvbke78',  MCSlices, TOTAL_TRIALS, numNeighbors_mtex_TRIALS, [])
PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1('ShapeFactor_hist_plotMarkup_sjkhvbke78',  MCSlices, TOTAL_TRIALS, ShapeFactor_mtex_TRIALS, [])
PLOT_HISTOGRAMS_GSANA_RESFRMMTEX_V1('AspectRatio_hist_plotMarkup_sjkhvbke78',  MCSlices, TOTAL_TRIALS, AspectRatio_mtex_TRIALS, [])

Histograms oibtained from above, are provided below. Histograms of grain structure parameters

Clone this wiki locally