Plotting two adjacent y-value pairs with respect to the same x value

1 visualizzazione (ultimi 30 giorni)
Hello All,
I wonder if there is a way to plot something that is similar to the attached photo. It can be initially done by 'faking' the x-value for each pair to make them distant from each other. Is there a less complex method in Matlab to do that ?
Thank you in advance

Risposta accettata

Rik
Rik il 5 Lug 2018
By now there might be documented method, but you can use the undocumented scatter jitter.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by