How to create one common legend for 4 subplots in MATLAB?
2 answers
Well, I just found out about it.
You can simply add a legend to the last subtitle and then drag and drop the legend wherever you want. (The last sub-heading will adjust the size itself, so you don't need to worry about that): |
But actually I want to find a MATLAB function (for example, use "suptitle" to add a generic title for a subtitle) or some MATLAB code for that. So if you find this feature now, please let me know. Thank!
0
source to share