Plot and fill area enclosed by n lines using Octave\Matlab

前端 未结 2 408
孤独总比滥情好
孤独总比滥情好 2021-01-25 07:19

Lets suppose I have n curves, which together enclose some region. How to plot the curves and fill in the region they enclose using Octave/Matlab? Below is example for 3 curves (

2条回答
  •  臣服心动
    2021-01-25 07:38

    You can use the function fill.

    See the matlab documentation there:

    http://www.mathworks.fr/help/techdoc/ref/fill.html

提交回复
热议问题