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

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

Answers (1)

KSSV
KSSV on 12 Aug 2020
Read about surf, pcolor.
  2 Comments
aa
aa on 12 Aug 2020
Edited: 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.

Tags

Community Treasure Hunt

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

Start Hunting!