How to plot this diagram?

1 vue (au cours des 30 derniers jours)
Kevin Doll
Kevin Doll le 12 Nov 2021
Commenté : Kevin Doll le 13 Nov 2021
Hi together,
i would like to plot a diagram like the one shown in matlab. But i dont find a easy solution. Do you have any tipps? I know the scatter plot like in the first picture, for me it would be sufficient if i could only plot the "bubbles" like shown in the 2. picture.
A solution to specify 4-6 points with x/y-coordinates for each corner and plot these as one area would me nice. Is there a solution?
Thanks in advance,
Kevin

Réponse acceptée

Dave B
Dave B le 12 Nov 2021
A good function where you specify some co-ordinates and get a filled region is fill (I did a very bad job replicating your shape!)
x=[1 2 4 100 150 30 5 1.5]/100;
y=[1 10 100 800 600 100 10 1];
fill(x,y,'b')
set(gca,'YScale','log','XScale','log','XLim',[.01 1000])
grid on
  1 commentaire
Kevin Doll
Kevin Doll le 13 Nov 2021
Thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by