Skip to content

Add external grahical output of result

Issue description

Initial situation

The graphical output in the app is not sufficient for written documents, presentations etc. This is the reason why calculated results need to be stored in a temp file and not only displayed in the app but also in an external graph with proper x and y axes declaration etc.

Tasks

  • Find results for graphical output from app and store them in a seperate designated .mat file
  • Output of a graph with x and y axes, headline and colorbar etc.
  • Add documentation

Code suggestion

legend(['t_{mix.} = ',num2str(tmix(i)),' s'])
                        cl = colorbar('southoutside');
                        cl.Label.String = {'rel. local mixing time distribution';'t_{n,m}/t_{mix,global} / %'};
                        cl.Label.Interpreter = 'latex';
                        cl.FontName='Times';
                        print(strcat('./temp/',saveFolder,'/mixing_contour-',name_i{i}),'-dpng','-r300');
                        cleanfigure('targetResolution',300);
                        matlab2tikz('floatFormat','%.0f',strcat('./temp/',saveFolder,'/tikz_mixing_contour-',name_i{i},'.tikz'),'height','\figureheight','width','\figurewidth');
set(0,'defaulttextinterpreter','latex')
set(0,'defaultAxesFontSize'   , 12)
set(0,'defaultaxeslinewidth'  , 2)
set(0,'defaultTextInterpreter', 'tex');
set(0,'defaultTextFontSize', 12);
set(0,'defaultLineMarkerSize' , 7)
set(0,'DefaultLineLineWidth'  , 4)
set(0,'DefaultFigureColor',[1 1 1])
Edited by Sebastian Hofmann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information