Skip to content
Snippets Groups Projects
Commit 3cfa4fba authored by Nicola Vigano's avatar Nicola Vigano
Browse files

gtRenderGrains: added font size for figures

parent 79e5370a
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,9 @@ par.phase_id = 1; ...@@ -125,6 +125,9 @@ par.phase_id = 1;
par.r_vectors = []; par.r_vectors = [];
par.ipf_axis = []; par.ipf_axis = [];
par.font_size = 10;
par.font_weight = 'normal';
par.sampleaxes = false; par.sampleaxes = false;
par.sampleenv = true; par.sampleenv = true;
par.pxsize = []; par.pxsize = [];
...@@ -422,6 +425,8 @@ axis(h.axes, 'vis3d') ...@@ -422,6 +425,8 @@ axis(h.axes, 'vis3d')
camlight(par.lightaz, par.lightel); camlight(par.lightaz, par.lightel);
lighting(par.lighting) lighting(par.lighting)
set(h.axes, 'FontSize', par.font_size, 'FontWeight', par.font_weight);
if (~par.showaxes) if (~par.showaxes)
set(h.axes, 'xTick', []); set(h.axes, 'xTick', []);
...@@ -430,9 +435,9 @@ if (~par.showaxes) ...@@ -430,9 +435,9 @@ if (~par.showaxes)
end end
if (par.showlabel) if (par.showlabel)
par.xtext = xlabel(h.axes, par.labels{par.permute_axes(1)}); par.xtext = xlabel(h.axes, par.labels{par.permute_axes(1)}, 'FontSize', par.font_size, 'FontWeight', 'bold');
par.ytext = ylabel(h.axes, par.labels{par.permute_axes(2)}); par.ytext = ylabel(h.axes, par.labels{par.permute_axes(2)}, 'FontSize', par.font_size, 'FontWeight', 'bold');
par.ztext = zlabel(h.axes, par.labels{par.permute_axes(3)}); par.ztext = zlabel(h.axes, par.labels{par.permute_axes(3)}, 'FontSize', par.font_size, 'FontWeight', 'bold');
end end
if (par.grid) if (par.grid)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment