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

I am attempting to style a Plot in which all of the lines are Thick and I have selected the colors manually:

solid[t_] := -292 - 0.41 t;
liquid[t_] := -286 - 0.07 t;
gas[t_] := -242 - .189 t;
Plot[{gas[t], liquid[t], solid[t]}, {t, 0, 400}, 
 PlotStyle -> ({Thick, #} & /@ {Black, Blue, Red})]

The above code gives me the desired result, but I can't believe that the use of a pure mapped pure function is the best way to get these results. Is there a less obfuscatious method to assigning some PlotStyle directives to all functions and then a set of directives that will apply to each function individually?

share|improve this question
up vote 5 down vote accepted

You could add the directive using BaseStyle:

Plot[{gas[t], liquid[t], solid[t]}, {t, 0, 400}, 
 PlotStyle -> ({Black, Blue, Red}), BaseStyle -> Thick]
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.