Place two 3d plots in the same grid so they can be compared
1 vue (au cours des 30 derniers jours)
stefano lazzeri le 28 Fév 2023
Kmatc0 is: 501 x 15
Kmatc1 is: 501 x 15
vc0_cp1 is: 501 x 15
cs1 = mesh(log(Kmatc0),log(Zmatc0),vc0_cp1)
cs2 = mesh(log(Kmatc0),log(Zmatc0),vc0_cp0)
When I run this it does not give me two, but only one of them.
I would like them both to appear in only one grid.
Thank you in advance for your help.
Luca Ferro le 28 Fév 2023
Modifié(e) : Luca Ferro le 28 Fév 2023
Supposing that the mesh function is called properly, the syntax seems alright, have you though that they may be coincident?
log(Kmatc0),log(Zmatc0) are the same for both meshes and since you didn't share any actual values it's impossible to tell if vc0_cp1 and vc0_cp0 are the same as well.
Try coloring them differently:
cs1 = mesh(log(Kmatc0),log(Zmatc0),vc0_cp1,'EdgeColor',[1 0 0]) %red
cs2 = mesh(log(Kmatc0),log(Zmatc0),vc0_cp0,'EdgeColor',[0 0 1]) %blue
Note: if you only see the latter mesh (blue) they are coincident