Dear all,
Dear all,
Above is a 3D plot of a data and a line plot(white). The line plot starts from x=-0.2 and proceeds in a peicewise linear way up. However, as shown above, the lower part of this line is hidden. Possibly overshadowed by the 3D color graph.
My desired output is to show the full shape(or lenght) of the while line above the color map. Below is the code I used for the above plot.
figure(5);clf[xx,yy] = meshgrid(gridX,time_t);HH = mesh(xx,yy,U);view([0 90])hold on%for the white line
plot(xi_t,time_t, 'w', 'linewidth', 1.9);ylabel('t')xlabel('x')colorbarhold off
How do I solve this problem? Someone help me please. I have looked up and tried suggesstions on how to project a 3D figure onto 2D surface but to no avail.
THanks in advance
Best Answer