Pole intensities vs angular co-ordinates plot #554
-
Hi all, I wanted to plot the intensity of a pole figure versus the angular co-ordinates to plot the upper hemisphere as a "normal graph" (using plot3d) instead of it being a hemisphere. Could you please help me in this regard ? Thanks ! Best |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
I do not really understand how you want to plot, but maybe plot(pf,'3d') or plot(pf,'contourf') give you what you want. Ralf. |
Beta Was this translation helpful? Give feedback.
-
How about this: theta = pf.r.theta ./ degree;
rho = pf.r.rho ./ degree;
scatter(theta(:), rho(:), 20, pf.intensities(:)) Ralf. |
Beta Was this translation helpful? Give feedback.
-
I tried the same and got the following error:
I also noticed that pf.r.rho and pf.r.theta (1368X11) have different dimensions compared to pf.intensities (18X836). Do you think that is the problem ? Rakesh |
Beta Was this translation helpful? Give feedback.
-
Thanks Ralf. That worked. I had a short follow-up question: What angles do theta and rho denote ? Is theta the azimuthal and rho the tilt ? |
Beta Was this translation helpful? Give feedback.
-
It is the other way round.
Ralf.
********************************************************************
Ralf Hielscher Tel: +371-531-38556
Fakultät für Mathematik +371-531-22200 (Sekr.)
Technische Universität Chemnitz Fax: +371-531-22109
Reichenhainer Str. 39 E-mail:
[email protected]
D-09126 Chemnitz http://www.tu-chemnitz.de/~rahi
********************************************************************
…On Fri, Oct 30, 2020 at 5:25 PM rrkamath ***@***.***> wrote:
Thanks Ralf. That worked.
I had a short follow-up question: What angles do theta and rho denote ? Is
theta the azimuthal and rho the tilt ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#554 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBYJ2MIB6HDCASQE7WRZFDSNLSHTANCNFSM4TE6LC4Q>
.
|
Beta Was this translation helpful? Give feedback.
How about this:
Ralf.