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
281 stars 185 forks source link

Plotting orientation color scheme oM #92

Closed DavidMainprice closed 8 years ago

DavidMainprice commented 8 years ago
%% this defines a color mapping for the Forsterite phase
oM = ipdfHSVOrientationMapping(ebsd('Forsterite'))
% this is the colored fundamental sector
plot(oM)

This no longer works in MTEX 4.1.1, may be earlier version too ? Has Syntax changed ?

all the best David

ralfHielscher commented 8 years ago

Hi David,

it should work. What error message do you get?

Ralf.

DavidMainprice commented 8 years ago

Dear Ralf,

No error, just plot of empty black outline of IPF !

all the best David

Le 18 sept. 2015 à 10:07, Ralf Hielscher notifications@github.com a écrit :

Hi David,

it should work. What error message do you get?

Ralf.

— Reply to this email directly or view it on GitHub https://github.com/mtex-toolbox/mtex/issues/92#issuecomment-141376632.

DavidMainprice commented 8 years ago

Dear Ralf,

The fix seems to be below, but we did not need this fix before.

all the best David

%% Orientation IPF colourbar plot - Orthorhombic with Forsterite symmetry and r = x = 1,0,0 
close all
figure
plot(oM)
set(gcf,'renderer','zbuffer') 

Le 18 sept. 2015 à 10:07, Ralf Hielscher notifications@github.com a écrit :

Hi David,

it should work. What error message do you get?

Ralf.

— Reply to this email directly or view it on GitHub https://github.com/mtex-toolbox/mtex/issues/92#issuecomment-141376632.

bjoerneske commented 8 years ago

Same problem for me. Maybe it relates to Matlab version?

DavidMainprice commented 8 years ago

I do not think so, the correction suggested by Zachary Michels worked

that is

[grains,ebsd2.grainId,ebsd2.mis2mean] = calcGrains(ebsd2('indexed'),'angle',15*degree)

I also tried

[grains,ebsd.grainId,ebsd.mis2mean] = calcGrains(ebsd2('indexed'),'angle',15*degree)

which also worked and allows to write over the original ebsd.

all the best David

Le 30 sept. 2015 à 01:02, bjoerneske notifications@github.com a écrit :

Same problem for me. Maybe it relates to Matlab version?

— Reply to this email directly or view it on GitHub https://github.com/mtex-toolbox/mtex/issues/92#issuecomment-144215606.

ralfHielscher commented 8 years ago

This should been fixed since MTEX 4.1.3.

bjoerneske commented 8 years ago

Yes it works now, after I updated Matlab, Mtex and Microsoft SDK.

  1. okt. 2015 10.03 a.m. skrev "Ralf Hielscher" notifications@github.com:

This should been fixed since MTEX 4.1.3.

— Reply to this email directly or view it on GitHub https://github.com/mtex-toolbox/mtex/issues/92#issuecomment-146450185.