how to plot such figure in MATLAB?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Assen Beshr
el 27 de Mzo. de 2023
Comentada: DGM
el 27 de Mzo. de 2023
how to plot four line graph in one plane? data look like below.
PSO GWO PSOGWO SCA WOA
dg1V=[4.1072 4.1072 4.1163 4.1071 4.1072];
dg2V=[4.079 2.95 4.0841 4.0875 4.19];
dg3V=[2.1734 2.1856 2.1737 2.8233 2.1856];
dg4V=[2.1425 4.2595 2.1428 2.141 2.1532];
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1337184/image.png)
2 comentarios
DGM
el 27 de Mzo. de 2023
If the x-data is (conceptually) categorical, then does it even make sense to use a line graph? Is it meaningful to represent interpolated values halfway between SCA and WOA? Only you know what your data means, but you might consider a bar chart or something. Either way, KSSV's answer would apply.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!