Home
last modified time | relevance | path

Searched refs:legend (Results 1 – 16 of 16) sorted by relevance

/petsc/src/sys/classes/draw/utils/
H A Dlgc.c230 if (lg->legend) { in PetscDrawLGSetLegend()
231 for (i = 0; i < lg->dim; i++) PetscCall(PetscFree(lg->legend[i])); in PetscDrawLGSetLegend()
232 PetscCall(PetscFree(lg->legend)); in PetscDrawLGSetLegend()
235 PetscCall(PetscMalloc1(lg->dim, &lg->legend)); in PetscDrawLGSetLegend()
236 for (i = 0; i < lg->dim; i++) PetscCall(PetscStrallocpy(names[i], &lg->legend[i])); in PetscDrawLGSetLegend()
288 if (lg->legend) { in PetscDrawLGSetDimension()
289 for (i = 0; i < lg->dim; i++) PetscCall(PetscFree(lg->legend[i])); in PetscDrawLGSetDimension()
290 PetscCall(PetscFree(lg->legend)); in PetscDrawLGSetDimension()
419 if ((*lg)->legend) { in PetscDrawLGDestroy()
420 for (i = 0; i < (*lg)->dim; i++) PetscCall(PetscFree((*lg)->legend[i])); in PetscDrawLGDestroy()
[all …]
/petsc/src/sys/classes/draw/tests/
H A Dex3.c20 const char *xlabel, *ylabel, *toplabel, *legend; in main() local
27 legend = "Legend"; in main()
38 if (flg) legend = NULL; in main()
63 PetscCall(PetscDrawLGSetLegend(lg, &legend)); in main()
/petsc/src/tao/unconstrained/tutorials/
H A Dadjointreads.m90 % legend('Discrete Objective','Continous Objective')
94 % legend boxoff;
105 % legend('Objective','Optimal','Starting')
106 % legend boxoff
134 % legend('Grad at it=0','Grad at it=1')
148 % legend('Gradient FD','Gradient Adjoint')
167 % % legend('TAO','User')
H A Dconvergencestudy.m30 legend('16 elements','64 elements','256 elements','16 elements','64 elements','256 elements')
68 legend('Order 4','Order 7','Order 10','Order 13','Order 4','Order 7','Order 10','Order 13')
/petsc/src/benchmarks/
H A DbenchmarkExample.py179 from pylab import legend, plot, show, title, xlabel, ylabel
191 legend(arches, 'upper left', shadow = True)
196 from pylab import close, legend, plot, savefig, show, title, xlabel, ylabel
218 legend(names, 'upper left', shadow = True)
226 from pylab import legend, plot, savefig, semilogy, show, title, xlabel, ylabel
246 legend(names, 'upper left', shadow = True)
254 from pylab import legend, plot, savefig, semilogy, show, title, xlabel, ylabel
274 legend(names, 'upper left', shadow = True)
282 from pylab import legend, plot, show, title, xlabel, ylabel
298 legend(arches, 'upper left', shadow = True)
[all …]
H A DbenchmarkAssembly.py36 from pylab import legend, plot, show, title, xlabel, ylabel, ylim
54 legend(names, 'upper left', shadow = True)
69 legend(names, 'upper left', shadow = True)
83 legend(names, 'center right', shadow = True)
/petsc/src/ts/tutorials/phasefield/
H A Dpotentials.c13 const char *const legend[] = {"(1 - u^2)^2", "1 - u^2", "-(1 - u)log(1 - u)"}; in main() local
45 PetscCall(PetscDrawLGSetLegend(lg, legend)); in main()
H A Dheat.c285 const char *const legend[] = {"-kappa (\\grad u,\\grad u)", "(1 - u^2)^2"}; in MyMonitor() local
335 PetscCall(PetscDrawLGSetLegend(lg, legend)); in MyMonitor()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/
H A DCmpSystems.css17 table.summary, table.legend {
23 table.summary tr, table.summary td, table.summary th, table.legend td
/petsc/lib/petsc/bin/
H A Dpetsc_tas_style.mplstyle28 legend.facecolor : 00FFCC
H A DPetscBinaryIOTrajectory.py53 pyplot.legend(subnames)
H A Dpetsc_tas_analysis.py835 meshConvFig.legend()
838 statScaleFig.legend()
842 efficFig.legend()
/petsc/src/tao/leastsquares/tutorials/matlab/
H A DTestingPlot.m26 legend(h,{Results{1,1}.alg, Results{2,1}.alg});
/petsc/src/benchmarks/streams/
H A Dprocess.py78 ax1.legend(lines1 + lines2, labels1 + labels2, loc='best')
/petsc/include/petsc/private/
H A Ddrawimpl.h93 char **legend; member
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Dheat.py112 pylab.legend(loc='upper right')