필터 지우기
필터 지우기

how to create scatter and histogram plots in the same graph?

조회 수: 7 (최근 30일)
Maryam Hamrahi
Maryam Hamrahi 2019년 1월 16일
편집: Maryam Hamrahi 2019년 1월 17일
I want to combine scatter and histogram plots in the same graph. I also do not want to show the histogram data in the y axis, and only show the scatter data. please see the attached figure. For instance, I want to combine the following plots:
scatter (x1, y, x2, y)
hist (z)
I appreciate any suggestions. Thanks in advance.

답변 (1개)

Basil C.
Basil C. 2019년 1월 16일
Did you try the command
hold on;

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by