Plot a line below existing traces
16 ビュー (過去 30 日間)
古いコメントを表示
Suppose I have an axis that already contains a number of traces made using the plot command. I want to annotate my graph using "line", but I want these lines to be under the existing traces. Is there a way to specify the plotting order?
0 件のコメント
回答 (1 件)
Tobin Fricke
2011 年 7 月 30 日
1 件のコメント
Walter Roberson
2011 年 7 月 31 日
Note that that solution will not work for OpenGL: for OpenGL, if you have a surface and a line in the same plane, then OpenGL itself defines the drawing order. Unfortunately some graphics cards or graphics drivers get the defined order exactly backwards. Therefore if you are using OpenGL, you are better off giving specific Z coordinates so that the objects do not lie in the same plane.
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!