mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
287 stars 185 forks source link

miller labels have bars over zeros in MTEX 5.6 #808

Closed djm87 closed 3 years ago

djm87 commented 3 years ago

Hi guys,

Don't see this mentioned in the issue list: When labeling IPFs and such, the labels have bars on zeros.

image

This can make native labeling of PFs and IPFs unsuitable for publication.

Dan

Mac OS, Matlab 2020b, MTEX 5.6

  annotate([Miller(0,1,0,'hkl',CS),Miller(0,-1,0,'hkl',CS),...
      Miller(1,3,0,'hkl',CS),Miller(-1,3,0,'hkl',CS),...
      Miller(1,1,1,'hkl',CS),Miller(-1,1,1,'hkl',CS),...
      Miller(-1,1,2,'hkl',CS),Miller(1,1,2,'hkl',CS),...
      Miller(-1,3,1,'hkl',CS),Miller(1,3,1,'hkl',CS),...
      Miller(0,0,1,'hkl',CS),Miller(1,0,0,'hkl',CS),Miller(-1,0,0,'hkl',CS),...
      Miller(1,1,0,'hkl',CS),Miller(-1,1,0,'hkl',CS)],...
    'all','labeled','BackgroundColor','w')
djm87 commented 3 years ago

I now see there was a bug fix related to this in closed issues. It may be nice to push that kind of bug fix as a new release.