Hi Ilias Bouchkira,
It is my understanding that you want to merge multiple mesh plots into a single plot. Here is an example for the same:
% Create sample data
[X1, Y1] = meshgrid(-2:0.2:2);
Z1 = sin(sqrt(X1.^2 + Y1.^2));
[X2, Y2] = meshgrid(-2:0.1:2);
Z2 = cos(X2) + sin(Y2);
% Create a figure
figure('Name', 'Combined Mesh Plots');
% Plot the first mesh plot
mesh(X1, Y1, Z1);
hold on;
% Plot the second mesh plot
mesh(X2, Y2, Z2);
% Set plot properties
title('Combined Mesh Plots');
xlabel('X');
ylabel('Y');
zlabel('Z');
% Add a legend
legend('Mesh Plot 1', 'Mesh Plot 2');
% Adjust the view
view(3);
You can refer to the following documentation to know more about the functions used:
Best Regards,
Abhishek Chakram