Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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
4  
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. –  rm -rf 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
1  
@dustin ColorFunction -> jet –  rm -rf Oct 6 '13 at 1:28
1  
Also see: stackoverflow.com/questions/7251872/… –  s0rce Oct 6 '13 at 3:09
3  
I'm tempted to downvote to discourage garish graph makers. :) –  cormullion Oct 6 '13 at 8:01

1 Answer 1

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

 
discard

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.