Two colormap in the same plot
18 views (last 30 days)
I would like some help to plot two colormap in the same plot. I'm new to MatLab so I have still a lot to learn.
I have two dataset that I would like to plot with different colors. Here is my code, where I managed to plot them but just one has colors (trisurf). Now, I would like to plot in a different colormap (Parula) the dataset represented by the points in the figure (scatter), with a range between 0 and 100 cm.
% segment 12
title(['Dip slip - segment 12',num2str(smth),',',num2str(SMOOTH(smth))])
xlabel('UTM easting (km)')
ylabel('UTM northing (km)')
Anyone can help me? I tried to adsjut my code following this answer but it didn't work, mainly because I think I didn't fully understand how to do.