add markers to title string

1 view (last 30 days)
Leyon
Leyon on 10 Dec 2013
Answered: Walter Roberson on 10 Dec 2013
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?

Accepted Answer

Walter Roberson
Walter Roberson on 10 Dec 2013
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!