Skip to content

Texture intensity over tilt angle plot #696

Answered by kilir
90Maria asked this question in Ask Anything
Discussion options

You must be logged in to vote
% some example data
pf = calcDensity(vector3d(0,0,1),'halfwidth',20*degree,'antipodal')
plot(pf)
% define the vectors along which you want to get the data
v = vector3d.byPolar(linspace(0,pi/2,30),pi/2,'antipodal');
hold on
plot(v,'MarkerFaceAlpha',0.2)
hold off
nextAxis
plot(v.theta/degree,eval(pf,v))

Cheers,
Rüdiger

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@90Maria
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@90Maria
Comment options

@kilir
Comment options

kilir Jan 13, 2021
Collaborator

@90Maria
Comment options

Answer selected by kilir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants