Tag Info

Hot answers tagged

5

Legended[ContourPlot[x y, {x, 0, 1}, {y, 0, 1}], Placed[BarLegend[{ColorData["M10DefaultDensityGradient"], {0, 1}}, LegendLayout -> "Row"], Below]] I found the name of the color scheme by evaluating plot = ContourPlot[x y, {x, 0, 1}, {y, 0, 1}, PlotLegends -> Automatic] and looking at the expression of the result. As Legended accepts two ...


2

My main suggestion would be to use existing legending functionality in version 9+, e.g. LineLegend rather than hack things together from scratch like this. I think the main issue with your code and the reason it does not work, is that you are not actually providing any means for text-formatting options to affect your labels. The relevant piece of code in ...



Only top voted, non community-wiki answers of a minimum length are eligible