Multiple Row Xlabels in Matlab App Designer UIFigure UIAxes
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there,
I am trying to figure out the simplest/cleanest way to place multiple row (in my case - two rows) xlabels into a UIFigure in Matlab App Designer.
Thanks!
0 comentarios
Respuestas (1)
Kevin Holly
el 24 de Mzo. de 2023
fig = figure;
app.UIAxes = uiaxes(fig);
You can place the following line in the startup function of your app.
xlabel(app.UIAxes,{'xlabel 1';'xlabel 2'})
6 comentarios
Adam Danz
el 24 de Mzo. de 2023
@Gillian Weir it looks like your tick label interpreter is set to none or latex. This solution requires a tex interpreter.
app.UIAxes.TickLabelInterpreter= 'tex';
Ver también
Categorías
Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!