My BarLegend shows only zeros instead of right values and I cannot find the reason. I set following minimum and maximum:

legend = BarLegend[{"TemperatureMap", {MinC, MaxC}}, LegendLayout -> "Column"]

1 Answer 1


To the display precision, all of the numbers are zero; rescale.

MinC = -1.66423*10^-13;
MaxC = 9.39154*10^-13;
legend = BarLegend[{"TemperatureMap", {MinC, MaxC} 10^13}, 
  LegendLayout -> "Column", 
  LegendLabel -> "C * " <> ToString[10^"13", TraditionalForm]]

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.