Hi to all
I have some problem superposing plot and pcolor. The symbols I am trying to generate from plot don't appear the way they should once I superpose plot with pcolor.
And this is what I Get and it's aweful as hell. Bob is supposed to be a circle, Alice a triangle, and Charlie a square.
What can I do to correct the problem? Because of confidentiality I can't send the entire code but I can send you the way I generated the figure:
plot(YBob,XBob,'Om',YAlice,XAlice,'^y',YCharlie,XCharlie,'sg','LineWidth',5)
legend('Bob','Alice','Charlie')
title('Distribution Cartésienne')
xlabel('Distance (m)')
ylabel('Distance (m)')
hold on
[Xeve,Yeve]=meshgrid((yDeb:res:yFin),(xDeb:res:xFin));
pcolor(Xeve,Yeve,(PerrE));
shading interp
colorbar
axis equal square
hold off
Best Answer