1

I created a contour plot from my data, the first image below shows the bar chart which I am getting but I need it to look like the second image (I created by paint) the first number should start from zero and go up one by one, how can I do that? enter image description here

enter image description here

Parviz
  • 393
  • 2
  • 7

1 Answers1

0

With BarLegend patched according to BarLegend can't make spaced contours when contours number>11 please try:

BarLegend[{"Rainbow", {0, 13}}, Range[0, 13]]

Or:

BarLegend[{"Rainbow", {0, 13}}, Range[0, 12, 1/2]]
Mr.Wizard
  • 271,378
  • 34
  • 587
  • 1,371