Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create plots that have vibrant colors like those I create in Python?

For instance, take this thread function returning 0 where I used rainbow and here is the temperature gradient: enter image description here

Now here is a heat map I created in Python for comparison. enter image description here

share|improve this question
If you don't like Mathematica's colors, you just need to recreate the colormap used by python. In this case, it is the "jet" colormap, which you can implement as in this answer. While it is ubiquitous in science/engineering, the jet colormap is one of the worst when it comes to showing variation in the data. – R. M. Oct 6 '13 at 0:39
@belisarius I used rainbow in the linked post and in this post I used TemperatureMap. – dustin Oct 6 '13 at 0:42
@dustin ColorFunction -> jet – R. M. Oct 6 '13 at 1:28
Also see:… – s0rce Oct 6 '13 at 3:09
I'm tempted to downvote to discourage garish graph makers. :) – cormullion Oct 6 '13 at 8:01
up vote 2 down vote accepted

You will need to implement your own colour function and use it. There's an implementation of the MATLAB jet colour function in this StackOverflow answer. It is very similar to the example you posted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.