MATLAB Answers

Can the matlab bar function handle negetive values now?

1 view (last 30 days)
SChow
SChow on 30 Aug 2019
I want to plot the negetive values in a stacked bar graph in the negetive direction. I became aware that the 'bar' function cannot handle negetive values while plotting a stacked bar like answered in https://de.mathworks.com/matlabcentral/answers/97899-can-the-bar-and-barh-functions-in-matlab-7-0-1-r14sp1-handle-negative-values-when-plotting-a-stack
I want to know if there is a beter way to do it now than a crude hack mentioned in the above link

  0 Comments

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by