I tried to plot a horizontal bar graph, but there's always this unwanted thin, black, vertical line touching the rightmost bar. The x and y values were reversed, so the line is at the smallest x value. I didn't use anything like 'xline' and commenting out the 'xlim' resolves the issue, but I want to set the x limits to be larger than the automatic x limits.
MATLAB: Unwanted vertical black line in horizontal bar graph
MATLAB
Best Answer