how to draw a histogram like the image i gave (right image), the x axis and top axis show the values with the line start from left and right axis.
4 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1628643/image.png)
1 件のコメント
Dyuman Joshi
2024 年 2 月 27 日
That's not a histogram.
It's a line plot with two set of axes in one figure. See this example to learn how to implement that - https://in.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html#mw_ca4bd216-f46d-49cd-94ed-3fe176088b04
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!