Keep Getting This Error when plotting historgram and plot
1 view (last 30 days)
Show older comments
Daniel Dascher
on 6 Dec 2019
Commented: Daniel Dascher
on 6 Dec 2019
Below is the error im getting while im trying to plot a histrogram and a function on the same plot. My buddy and I are doing this together and his output shows both the histogram and the function, mine only shows the function while giving me this error about the histogram colour. Please help!
0 Comments
Accepted Answer
Ridwan Alam
on 6 Dec 2019
Edited: Ridwan Alam
on 6 Dec 2019
Use yyaxis left before plotting the histogram. If you can share the data and the parameter values, I could try to debug.
More 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!