Bar and scatter plot together
Ältere Kommentare anzeigen
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.
Antworten (1)
the cyclist
am 26 Jul. 2017
0 Stimmen
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 Kommentar
Dipen Bista
am 26 Jul. 2017
Kategorien
Mehr zu Scatter Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!