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

1 view (last 30 days)
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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!