Dear friends(adsbygoogle = window.adsbygoogle || []).push({});

I plot a Contour plot from a function with mathematica, but I dont know how can I add a small box near my figure that explain which value refer to which color?

I put my code below, please help me with adding colordata to my code for having reference for colors.

t = 0.01;

m = 0.7820;

ContourPlot[(3 (2 + m t (4 + m t)) - 4 (1 + m t) Cos[\[Pi] x] -

2 Cos[2 \[Pi] x] - 4 (1 + m t) Cos[\[Pi] y] - 2 Cos[2 \[Pi] y] +

4 Cos[\[Pi] (-x + y)] - 4 (1 + m t) Cos[\[Pi] (x + y)] -

2 Cos[2 \[Pi] (x + y)] + 4 Cos[\[Pi] (2 x + y)] +

4 Cos[\[Pi] (x + 2 y)])/(m (6 + m t (6 + m t) -

2 Cos[2 \[Pi] x] - 2 Cos[2 \[Pi] y] -

2 Cos[2 \[Pi] (x + y)])), {x, 0, 2}, {y, 0, 2}]

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Problem in reporting contour plot mathematica

Loading...

Similar Threads - Problem reporting contour | Date |
---|---|

Does anyone had this plotting problem with MATLAB? | Dec 23, 2017 |

Mathematica Solve Perturbation problem with mathematica | Dec 7, 2017 |

Mathematica For looping problem not getting answer | May 24, 2017 |

Matlab map representation problems | Feb 11, 2017 |

What are the macros you guys use to speed up LaTeX-ing? | Sep 10, 2016 |

**Physics Forums - The Fusion of Science and Community**