Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Setting plot data on a colormapped axes
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all. I usually find what I'm looking for here, but this problem was too specific I guess. I am using MATLAB R2014a. When plotting (or scattering) data, one can use the plot handle to apply: "set(h,'XData',x,'YData',y,'ZData',z)". But, when I use scatter3 with a colormap argument (i.e. h=scatter3(x,y,z,markerSize,colorMapping)), then the handle h gets it's 'Children' field become an array with more handles, each relates to a point on the graph and is made of a whole new structure ('patch' Type). In this case, when one uses the "set" command mentioned before, it turns the 'Children' into an empty array and all the points disappear from the graph. My question is: is there a way to set the x,y,z data of a plot that had been colormapped, without having all the points disappear? Thanks in advance, Tim
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!