How to plot subplots in same figure
1 view (last 30 days)
Show older comments
Hi, I have below data, and want to plot as follows:
V1_1 V2_1 V3_1 V2_1 V2_2 V2_3 V3_1 V3_2 V3_3
1 1.2 1.5 2 1.8 1.6 0.8 0.5 0.8
2 2.5 2.8 3.3 3.1 2.9 0.6 0.6 0.6
4 4.2 4.3 5.8 4.6 4.4 0.7 0.4 0.2
5 5.2 5.5 6.1 5.5 5.6 0.6 0.1 0.2
6 6.3 6.6 7 6.9 7.1 0.2 0.1 0.2
7 7.2 7.9 8.4 6.6 8 0.2 0.1 0.2
8 8.4 8.74 9 9 9.24 0.2 0.1 0.2
I want to plot:
Plot1:V1_1,V1_2, V1_3 & V3_1, V3_2, V3_3
Plot2:V2_1,V2_2, V2_3 & V3_1, V3_2, V3_3
as sub_plots (in the same figure)H
V1, V2, V3 are variable1,2,&3 and _1,_2,&_3 are experiment1,2,&3.
Kindly help how to plot this, (and any way to extend when I have more varialbes and experiments quickly)
Answers (0)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!