Plot median values in a bin (binned plot)
Mostra commenti meno recenti
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 Commenti
darova
il 29 Ago 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
il 29 Ago 2021
Arun Kumar Singh
il 29 Ago 2021
darova
il 29 Ago 2021
Well, it's a problem
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!