How to create an hggroup for contour plot legend
이전 댓글 표시
Hello all, I need help creating a legend for a contour plot. I'm plotting a streamline function that is dependent of the x and y position. I have an x vector (1x15 vector) and a y vector (1x15 vector) and my streamline data at every point (15x15 array). I plot it all using contour(x,y,streamline_data), and it plots fine. However, I do not know how to use the legend to label the lines on the contour. I don't know how to use the hggroup input that needs to be specified for the legend. Please help!
-Colton.
답변 (0개)
카테고리
도움말 센터 및 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!