How Can I Create Figure Like Bar

Hello, I have a data which one is changing with depth and I want to represent my data like as the image.
For example;
depth=[110;111;112;113;114;115;...] data=[1;2;2;2;2;1;;3;3...]
Is there an easy way?
I did search but I cant find any answer.
Thank you.

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Asked:

on 17 Nov 2017

Answered:

KL
on 19 Nov 2017

Community Treasure Hunt

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

Start Hunting!