surf colors with cylinder output
古いコメントを表示
Hi, I have radius data for given depths. I'd like to plot it in 3D with colors matching the radius range. I'm not sure how to construct color palette correctly. r = 3.6247 3.6329 3.6412 3.6494; (r has over 8000 points) [x,y,z]=cylinder(r,10); surf(x,y,z). I can assign color with z surf(x,y,z,z) but I'm really after the visual change in radius. e.g red for radius lower than 3.63, yellow for 3.64 green for 3.65. (5 color ranges in total, or a color palette would be even better).
Below is 8000 radii used with z as color. I need to get the colors right, red where the radius is lowest of pipe's nominal ID.
Thank you!

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Blue についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!