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

2 vues (au cours des 30 derniers jours)
David P
David P le 1 Nov 2016
Commenté : Michael Behm le 17 Fév 2017
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 commentaire
Michael Behm
Michael Behm le 17 Fév 2017
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Object Properties dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by