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.
1 view (last 30 days)
Show older comments
1 Comment
Dyuman Joshi
on 27 Feb 2024
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
Answers (0)
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!