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

  • 4
    $\begingroup$ 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. $\endgroup$
    – rm -rf
    Oct 6, 2013 at 0:39
  • $\begingroup$ @belisarius I used rainbow in the linked post and in this post I used TemperatureMap. $\endgroup$
    – dustin
    Oct 6, 2013 at 0:42
  • 2
    $\begingroup$ @dustin ColorFunction -> jet $\endgroup$
    – rm -rf
    Oct 6, 2013 at 1:28
  • 1
    $\begingroup$ Also see: stackoverflow.com/questions/7251872/… $\endgroup$
    – s0rce
    Oct 6, 2013 at 3:09
  • 4
    $\begingroup$ I'm tempted to downvote to discourage garish graph makers. :) $\endgroup$
    – cormullion
    Oct 6, 2013 at 8:01

1 Answer 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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