Plot median values in a bin (binned plot)
Ältere Kommentare anzeigen
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 Kommentare
darova
am 29 Aug. 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
am 29 Aug. 2021
Arun Kumar Singh
am 29 Aug. 2021
darova
am 29 Aug. 2021
Well, it's a problem
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!