3
$\begingroup$

I have the following BarLegend:

BarLegend[{"GreenPinkTones", {-0.99, 0.99}}]

It does not show -0.99 and 0.99. How can I force it to show these numbers at the beginning and end respectively?

$\endgroup$
8
$\begingroup$
BarLegend[{"GreenPinkTones", {-0.99, 0.99}}, 
 "Ticks" -> Join[Range[-.75, .75, .25], {-.99, .99}]]

enter image description here

| improve this answer | |
$\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.