How to Change the Staking Order of Lines from Back-to-Front to Front-to-Back?
Ältere Kommentare anzeigen
It seems that the order of staking lines in a graph is back-to-front, so blue line will be behind red line.
hor_line = [1,1,1];
ver_line = [0,1,2];
plot([0 1 2],hor_line ,[1,1,1],ver_line, 'LineWidth', 8);

Is there any way to change the default staking order of lines from back-to-front to front-to-back? (so, by the same code, I will get the following)
hor_line = [1,1,1];
ver_line = [0,1,2];
plot([0 1 2],hor_line ,[1,1,1],ver_line, 'LineWidth', 8);

1 Kommentar
KALYAN ACHARJYA
am 23 Sep. 2018
Your question?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graphics Object Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!