{"action":"opened","issue":{"url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/73","labels_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/73/comments","events_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/73/events","html_url":"https://github.com/mtex-toolbox/mtex/issues/73","id":92149802,"number":73,"title":"Single orientation pole figures","user":{"login":"KarstenKunze","id":12185848,"avatar_url":"https://avatars.githubusercontent.com/u/12185848?v=3","gravatar_id":"","url":"https://api.github.com/users/KarstenKunze","html_url":"https://github.com/KarstenKunze","followers_url":"https://api.github.com/users/KarstenKunze/followers","following_url":"https://api.github.com/users/KarstenKunze/following{/other_user}","gists_url":"https://api.github.com/users/KarstenKunze/gists{/gist_id}","starred_url":"https://api.github.com/users/KarstenKunze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarstenKunze/subscriptions","organizations_url":"https://api.github.com/users/KarstenKunze/orgs","repos_url":"https://api.github.com/users/KarstenKunze/repos","events_url":"https://api.github.com/users/KarstenKunze/events{/privacy}","received_events_url":"https://api.github.com/users/KarstenKunze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T17:21:13Z","updated_at":"2015-06-30T17:21:13Z","closed_at":null,"body":"For a single orientation (0,0,0) of a triclinic crystal, the pole figure plots do not coincide for the discrete orientation (blue dots, correct to my opinion) and the odf derived contours (incorrect). Below please find the output of the attached script, using MTEX 4.20. The convention on the crystal coordinate system follows the OIM format using 'Y||b*', 'Z||c'. I have not tested the same issue on any other symmetry settings yet.\r\nMany thanks & regards, \r\nkk. \r\n![polefigures_hkl](https://cloud.githubusercontent.com/assets/12185848/8436933/0b98cf5c-1f5c-11e5-9e32-262fd9e80479.jpg)\r\n![polefigures_uvw](https://cloud.githubusercontent.com/assets/12185848/8436934/0b9a6948-1f5c-11e5-8da9-3d8f9e5e0e38.jpg)\r\n\r\n%% Single orientation with triclinic symmetry\r\n%\r\nclose all; clear all; \r\n\r\n% crystal symmetry triclinic (Albite)\r\ncs = crystalSymmetry('1', [8.155 12.821 7.14], [93.965,116.4,89.46]*degree,...\r\n    'Y||b*', 'Z||c', 'mineral', 'Albite', 'color', 'cyan');\r\nss = specimenSymmetry('1')\r\n\r\n% plotting convention\r\nsetMTEXpref('xAxisDirection','north');\r\nsetMTEXpref('zAxisDirection','outOfPlane');\r\n\r\n% basis vectors and plane normals\r\nr_a = Miller(1,0,0,cs,'uvw');\r\nr_b = Miller(0,1,0,cs,'uvw');\r\nr_c = Miller(0,0,1,cs,'uvw');\r\nh_a = Miller(1,0,0,cs);\r\nh_b = Miller(0,1,0,cs);\r\nh_c = Miller(0,0,1,cs);\r\nh = [h_a,h_b,h_c,-h_a,-h_b,-h_c];\r\nr = [r_a,r_b,r_c,-r_a,-r_b,-r_c];\r\n\r\n% ODF calculation \r\no = orientation('Euler',0*degree,0*degree,0*degree,cs,ss)\r\nodf = calcODF(o,'halfwidth',30*degree)\r\n\r\n% plot discrete and contour pole figures\r\nplotPDF(odf,h,'grid','grid_res',90*degree)\r\nhold on\r\nplotPDF(o,h,'Marker','o','MarkerSize',10,'MarkerColor','b')\r\nhold off\r\n\r\nfigure\r\nplotPDF(odf,r,'grid','grid_res',90*degree)\r\nhold on\r\nplotPDF(o,r,'Marker','o','MarkerSize',10,'MarkerColor','b')\r\nhold off"}}