add markers to title string

2 次查看(过去 30 天)
There is two questions I have to ask:
1. The first is how do I add markers/symbols to a plot title?
2. How do I fixed the output size of a plot?
b)In a subplot, can the figures be resized individually and if so how?

采纳的回答

Walter Roberson
Walter Roberson 2013-12-10
Normally you would legend() instead of adding markers to a title()
With regards to the output size, are you referring to "as drawn" or "as printed" ? If you mean "as printed" see the figure PaperSize property. For "as drawn", you can set the figure Units property to pixels or inches or cm as appropriate. As you perhaps asking how to disable the user from resizing the figure?
Subplots do not have figures: they are axes. You can resize an axis by set()'ing its Position properties. Note that each time you call subplot(), if the calculated position of the axes being requested overlaps any other axes, the axes that are overlapped will be deleted.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by