multiple plot on single x axis
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I would like to plot multiple data on a single x axis
Here is an example,

I used subplot to plot the data in this form

How can I plot on a single chat that varies for different x position ( 1D..5D..20D) and varying turbulence data?
Merci
0 Kommentare
Antworten (1)
Image Analyst
am 6 Mär. 2022
plot(tix, yD1, '.-', 'LineWidth', 3, 'MarkerSize', 14);
hold on;
plot(tix, yD2, '.-', 'LineWidth', 3, 'MarkerSize', 14);
plot(tix, yD3, '.-', 'LineWidth', 3, 'MarkerSize', 14);
plot(tix, yD4, '.-', 'LineWidth', 3, 'MarkerSize', 14);
plot(tix, yD5, '.-', 'LineWidth', 3, 'MarkerSize', 14);
3 Kommentare
Image Analyst
am 8 Mär. 2022
Your top figure and bottom figure are different. Attach your data and say what rows or columns you want plotted in each subplot, and say how many rows and columns of subplots you want.
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
