Plot median values in a bin (binned plot)
Mostrar comentarios más antiguos
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 comentarios
darova
el 29 de Ag. de 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
el 29 de Ag. de 2021
Arun Kumar Singh
el 29 de Ag. de 2021
darova
el 29 de Ag. de 2021
Well, it's a problem
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!