Borrar filtros
Borrar filtros

Multiple_independant variables on X-axis bottom

1 visualización (últimos 30 días)
root
root el 20 de Abr. de 2023
Respondida: KSSV el 20 de Abr. de 2023
Hello
This question is still not answered and I am struggling to get the right plot that looks like the following.
I would be happy to hear from you all.
Thank you

Respuestas (1)

KSSV
KSSV el 20 de Abr. de 2023
plot(1:3,rand(1,3))
xticks([1 2 3])
str = {sprintf('1\\newlineOne\\newlineOkati') sprintf('2\\newlineTwo\\newlineRendu') sprintf('3\\newlineThree\\newlineMoodu')} ;
set(gca(),'XTickLabel',str);

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by