フィルターのクリア

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;
  1 件のコメント
Maryam Hamrahi
Maryam Hamrahi 2019 年 1 月 16 日
Thanks for your respond. It does not work in this case.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by