Hi, i've been working on figuring out how to make each point in a plot a color specified by a function that I wrote. I was wondering if anyone knew how to do this in a single command. The only way i have though of making this work is with a loop that goes through each individual point and assigns a color which is incredibly slow and inefficient. I use the plot3d command. If anyone could help me out I would appreciate it greatly!(adsbygoogle = window.adsbygoogle || []).push({});

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Colors in matlab plots

Loading...

Similar Threads - Colors matlab plots | Date |
---|---|

Matlab Matlab -- how to make a smooth contour plot? | Jun 28, 2017 |

Matlab How to make 2D plot of points with different colors? | Dec 13, 2016 |

Matlab How to set zero value boxes transparent in 3D plots? | May 17, 2016 |

Matlab How to use a suitable color bar? | Mar 9, 2016 |

Plot graph of different color for different points? Matlab | Mar 22, 2008 |

**Physics Forums - The Fusion of Science and Community**