Adding description outside the plot with coloured text
问题 I am working on a visualisation of my data and would like to add a description of a plot. The description will be added outside the plot. For that I have written: plot(1:10) text(2,8,'my text here ','Color','green','FontSize',14,'location','EastOutside') But it doesn't work, I get the error: There is no location property on the Text class. How can I fix this? This is my desired output: 回答1: The location input pair you're giving to text are for the legend , not text objects... The location is