How to graph multiple basevalues per figure using the area() function

조회 수: 3 (최근 30일)
David P
David P 2016년 11월 1일
댓글: Michael Behm 2017년 2월 17일
I am trying to graph the area between a curve and multiple basevalues along the curve (MATLAB 2014b). Here is the code I am using:
area(X1, Y1,'BaseValue', 0.435);
When I add another line of code with a different basevalue, such as
area(X2, Y2,'BaseValue', 0.658);
Matlab automatically changes the basevalue of the first area to this new basavalue (0.658). Is there a way to graph multiple area functions with different basevalues in one figure? Here is a depiction of what I am trying to achieve:
  댓글 수: 1
Michael Behm
Michael Behm 2017년 2월 17일
I have exactly the same problem with 2016b. Is this a bug since 2014b? Changing the base value in on object automatically changes the base value in the other objects.
Has there been a solution since then?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by