I recently started using Version 11, and I encountered the following problem. I use this code to make a contour plot:
myfunct[x_, y_] := 1.64 Exp[-6 (x^3 + y)] + 0.02 Sin[8 x + y] + 0.02;
ContourPlot[
myfunct[x,y], {x, 0, 1}, {y, 0, 1},
PlotRange -> Full,
Contours -> Table[x^2, {x, 0, Sqrt[1.7], 0.05}],
ContourStyle -> Thin,
FrameStyle -> Directive[FontFamily -> "Arial", 18, Black],
PlotLegends -> BarLegend[
Automatic,
LabelStyle -> Directive[FontFamily -> "Arial", FontSize -> 18, Black],
LegendMarkerSize -> 250
],
ImageSize -> 400,
MaxRecursion -> 4
]
And here is the comparison between the two versions (I can't disclose the plotted function, but the one given in the code above has a similar behaviour):
The behaviour I'm interested in is the one from Version 10. The legend does not scale, neither do the ticks (0, 0.5, 1.0, 1.5), the contours however scale according to the positions I have chosen for them.
My question is how to force Mathematica 11 to use the old style? Is there possibly an undocumented option that can do it?
myfunc
. Please edit your question to include that definition. $\endgroup$