Show points colored based on their coordinate in gui

Hi,
how can I get the effect as on the image below using gui (rendering)? Is there any function which does it or do I have to paint all points manually?

colormap_jet

You can use keyboard shortcuts. In MacOS Command + Number changes the color in the visualizer window but it won’t change point cloud data. Examples:

  • Rainbow effect: Command + 2
  • Assigned colors through pcd.colors: Command + 1

Thank you for the response. The commands work only in visualizer but not in the GUI. I think it can be done with the material setting but I don’t know how to do it.