How to change the order of lines in a Matlab figure?
问题 Given a plot of three curves in a .fig file I'd like to add another plot (with hold all and plot ), but put it behind one of the already existing curves (i.e. make sure the last original curve stays the foreground one). Can this be achieved without having to extract the plot data and re-plotting? 回答1: If you know the handle of line you want on top (e.g. because you called h = plot(...) , you can use uistack uistack(h,'top') Alternatively, you can manipulate the order of children of your