Insert solar symbol on plot axis
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone, how can i insert the solar symbol on my plot axis .tried the following and it doesnt work solar = char(9737) ylabel( ['10^{-6} M_',solar, 'Year^{-1}'], 'FontSize',14,'FontWeight','bold'):it gives “?”instead of solar symbol.help
0 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 21 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 21 de Jul. de 2019
Is this you are looking for?
I tried with your code
solar=char(9737)
ylabel(['10^{-6} M_',solar, 'Year^{-1}'], 'FontSize',14,'FontWeight','bold');
10 comentarios
Walter Roberson
el 24 de Jul. de 2019
I do not know what sub1 is in this context.
You need to be careful with calling xlabel() or ylabel() just after your subplot() call, in that if you do not do a hold on before you plot() then plot() will probably erase the labels.
I recommend that you read https://www.mathworks.com/support/search_results.html?q=tag%3Aalways-parent
Ver también
Categorías
Más información sobre Axis Labels 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!