Plot median values in a bin (binned plot)
Afficher commentaires plus anciens
fid = fopen('B0B1_Daytime.txt');
datacell =textscan(fid,'%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f', 'collectoutput', true);
M=datacell{1,1};
x = (M(:,2));
y = (M(:,1));
z = (M(:,9));
scatter(x,y,2,z,'s','filled')
This is the code that i have written here for the plot of x,y and z as surface plot. as it is attached here.
I want this plot with binned value and each bin should has median values in a bin.

5 commentaires
darova
le 29 Août 2021
I don't understand the question. What does it mean: each bin should has median values in a bin? DO you have a picture?
Arun Kumar Singh
le 29 Août 2021
Arun Kumar Singh
le 29 Août 2021
darova
le 29 Août 2021
Well, it's a problem
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!