MATLAB Answers

2D plot (x,y) with third axis (z-axis) as color bar

19 views (last 30 days)
aa on 12 Aug 2020
Commented: KSSV on 12 Aug 2020
I have a data set of three parameters. x-axis is the time in hour:mm, while y-axis the the number of hours i.e. 1, 2, 3 10..20 ..40....etc. and z-axis is the paramter that i want to plot agiants x, y and represnet as colour bar.
Can somebody help me please?


Sign in to comment.

Answers (1)

KSSV on 12 Aug 2020
Read about surf, pcolor.


aa on 12 Aug 2020
Thanks ... i just read about surf .. but surf is about 3D plot ... I just want to plot in 2d-fashion as illustrated in attached figure ... here x-axis is time ... y-axis number of hours and z-axis is the beta variation

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!