フィルターのクリア

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

2 ビュー (過去 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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by