title that spans subplots
Mostrar comentarios más antiguos
Hi, I am a newbie. How can I add a title so that it spans across two graphs plotted with subplot? (I can add titles to individual plots and even add a title to a figure window but neither of these is what I want). Thanks
Respuesta aceptada
Más respuestas (4)
Sean de Wolski
el 12 de Ag. de 2011
How about with super title!
doc suptitle
What it looks like:

3 comentarios
Oleg Komarov
el 12 de Ag. de 2011
where do you find suptitle?
Sean de Wolski
el 12 de Ag. de 2011
Oh. I thought it was standard.
It's in the Bio toolbox as part of a yeast infection demo.
*A word may have been inserted for humor's sake.
Stewart Wiseman
el 13 de Ag. de 2011
Steven Lord
el 23 de Oct. de 2018
4 votos
the cyclist
el 12 de Ag. de 2011
One way to do this is with the text() command:
>> subplot(1,2,1), plot(1:10)
>> subplot(1,2,2), plot(1:10)
>> text(-10,10.2,'Test title spanning two subplots -- Some fine tuning will be required')
>>
In this case, the text positioning is relatively to the second axes.
Shahzad ali Zardari
el 23 de Oct. de 2018
if true
% code
end
Categorías
Más información sobre Title en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!