How to divide 2D histogram into four quadrants

5 visualizaciones (últimos 30 días)
Sulochana S
Sulochana S el 6 de Abr. de 2020
Comentada: Sulochana S el 7 de Abr. de 2020
I have plotted the 2D histogram between x,y.
Now anyone help me to divide the histogram into four equal quadrants.
I have attached the sample 2D histogram. i need to split using horizontal and vertical lines attached to the figure.
Thanks.
  2 comentarios
Ameer Hamza
Ameer Hamza el 6 de Abr. de 2020
Can you show us an example of the output you want?
Sulochana S
Sulochana S el 7 de Abr. de 2020
Hi Thanks for your quick reply and valuable time
I am implementing the algorithm proposed in the paper.

Iniciar sesión para comentar.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 6 de Abr. de 2020
Editada: KALYAN ACHARJYA el 6 de Abr. de 2020
You can manualy insert the line as required
data=randi(100,[10,10]);
hist(data);
grid on;
hold on;
x_data=1:100;
y_data=repelem(2,length(x_data));
plot(x_data,y_data,'r','linewidth',2);
  1 comentario
Sulochana S
Sulochana S el 7 de Abr. de 2020
Hi Kalyan Acharya,
Thanks for your code and time.
I dont want to insert the line manually.
I am implementing the algorithm proposed in the paper (attached)
Thanks
Sulochana

Iniciar sesión para comentar.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by