Hi. So this is the code I am using:
iX = [500,1000,2000,4000,8000,16000];Y = [6.55,6.25,6.15,6.1,6.07,6.05];ref = [6.048,6.048,6.048,6.048,6.048,6.048];plot(X,Y,'k','Linewidth',1)hold onplot(X,Y,'o','MarkerEdgeColor','black')hold onplot(X,ref,'k','Linewidth',1)hold ongrid onlegend('I dont want this', 'I want this', 'reference')
And here's a picture of how the graph looks like and a second picture with the graph I would like to achieve(edited in Paint):
Any ideas of how I can achieve that in Matlab without having to edit the file in Paint? Also how to get rid of the first item in the legend? Also there is no "i" at the beginning of my code, I just don't know how to delete it.
Best Answer