Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica 3D plot color function options

  1. Sep 13, 2012 #1

    I have 3D plot used to represent the amount of light that hits a solar panel.

    Basically what I would like is a way to have say 10% of the data red, the next 10% of the data yellow etc.

    The 3D plot is at a peak in the centre and then goes to zero by some function based on data, so there is some way to tell mathematica that I want the top 10% of the volume to be a certain color then between 10-20% a different colour etc. that should work but I don't know how to do it... (Volume works because the plot takes the amount of photons hitting a certain region and gives it a higher value, so the total volume represents the amount of data points)

    I would be happy to just know how to draw a circle splitting the plot into equal volumes

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted