I have a data file with 9 rows and 5 columns (first column is the x-axis text, and first two rows are just text for my understanding). I want to plot the bar plot of first two columns and plot cross mark for the last two columns exactly on top of first two columns. eg. Cross of (3,4) should be on top of bar of (3,2) and cross of (3,5) should be on top of bar of (3,3)
Can someone help me on this.

답변 (1개)

the cyclist
the cyclist 2017년 7월 26일

0 개 추천

There is a plot of this style in the examples at the MATLAB Plot Gallery. I recommend you take a look there, and download the code as a starting point.

댓글 수: 1

Dipen Bista
Dipen Bista 2017년 7월 26일
Hi, My problem is I cannot center the cross mark with the bar plot.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

질문:

2017년 7월 26일

댓글:

2017년 7월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by