필터 지우기
필터 지우기

add label to a contour when when multiples plots

조회 수: 1 (최근 30일)
Beatriz Sanchez
Beatriz Sanchez 2019년 9월 18일
댓글: Star Strider 2019년 9월 19일
Hello saviors,
so, I'm creating three contour from trhee matrix array on a single plot using hold on:
hold on
contour (muvec, muvec, spaln(:,:,1))
contour (muvec, muvec, spaln(:,:,2))
contour (muvec, muvec, spaln(:,:,3))
hold off
What I want is to label each contour with 1, 2, 3 for each matrix, so I can know which contour represent wich matrix array.
thank you all

채택된 답변

Star Strider
Star Strider 2019년 9월 18일
They appear to be plotted on the same set of coordinate matrices. One option is to use different line colours (and other variations) for each contour plot. You might also consider contour3, that will allow you to separate them vertically.
  댓글 수: 4
Beatriz Sanchez
Beatriz Sanchez 2019년 9월 19일
thank you, I didn't do it exactly like you, but your way help me a lot!
Star Strider
Star Strider 2019년 9월 19일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by