Question with gradient colors using plot3: connecting lines
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I was wondering if I can associate a colormap with a binary tree I create using plot3 to connect lines. In my program, I create a binary tree by an offshoot CCO method, and I would like to make colormaps based off things I calculate (like radii or flow).
I was wondering, how would I go about doing this? I've used colormap before with meshgrids, but not with plot3. If I can create a color gradient, that would be preferred for visualization.
Here are a series of pictures of binary trees I create. In these, I was wondering how I can set color due to radii.
Thanks!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Colormaps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!