Info

This question is closed. Reopen it to edit or answer.

I need a code for the following graph

2 views (last 30 days)
Prajwal Venkatesh
Prajwal Venkatesh on 24 Jan 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
In the following graph the x axis should have 82 elements and the label for the x axis should be times like 6:30 , 6:35, 6:40....7:00....till 3:00 PM
The y axis can have [0.5 to 1.5 ] with 0.2 divisions
I must plot "reqman1"
reqman1 =
Columns 1 through 3
0.9375 0.9375 1.3281
Columns 4 through 6
1.3477 1.0547 0.9375
Columns 7 through 9
0.9570 1.0547 1.0547
Columns 10 through 12
1.0547 0.9375 0.9375
Columns 13 through 15
0.9375 0.9375 0.9375
Columns 16 through 18
0.9375 0.9375 1.3281
Columns 19 through 21
1.3477 1.0547 0.9375
Columns 22 through 24
0.9570 1.3906 1.4258
Columns 25 through 27
1.4258 1.0000 0.9766
Columns 28 through 30
0.9766 0.9766 0.9766
Columns 31 through 33
0.9766 0.9766 0.9766
Columns 34 through 36
0.9375 0.9375 0.9375
Columns 37 through 39
0.9375 0.9375 0.9375
Columns 40 through 42
0.9375 0.9375 0.9375
Columns 43 through 45
0.9375 0.9375 0.9375
Columns 46 through 48
0.9375 0.9766 0.9766
Columns 49 through 51
0.9766 0.9766 0.9766
Columns 52 through 54
0.9766 0.9766 1.3906
Columns 55 through 57
0.9766 0.9766 0.9766
Columns 58 through 60
0.9766 0.9766 0.9766
Columns 61 through 63
0.9375 0.9375 0.9375
Columns 64 through 66
0.8594 0.9180 0.9375
Columns 67 through 69
0.8008 0.8008 0.8008
Columns 70 through 72
0.9375 0.9570 0.9570
Columns 73 through 75
0.9375 0.8008 0.8008
Columns 76 through 78
0.9375 0.9570 0.9570
Columns 79 through 81
0.9375 0.9473 0.9473
Column 82
0.9473
I want the code which can give me the colour too
With the above data i want to plot the graph below
Thanks a lot!Capture.PNG
  1 Comment
Rik
Rik on 24 Jan 2020
Have a read here and here. It will greatly improve your chances of getting an answer.
Especially for the blue lines you will have to use interpolation to generate the smooth curve.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!