0
$\begingroup$

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

MinC=-1.66423*10^-13; 
MaxC=9.39154*10^-13;
legend = BarLegend[{"TemperatureMap", {MinC, MaxC}}, LegendLayout -> "Column"]
$\endgroup$
1
$\begingroup$

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

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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