usnistgov / pfhub

The CHiMaD Phase Field Community Website
https://pages.nist.gov/pfhub
Other
49 stars 40 forks source link

[Feature]: Sort surface points by theta (increasing from -pi/2) before plotting #1498

Open tkphd opened 1 year ago

tkphd commented 1 year ago

Description

The surface plot for BM4 has zig-zaggy character due to the order in which points are presented in the data.

Suggested Solution:

Convert $(x,y)$ to $\theta$, sort, then plot the transformed $(x',y')$.

Alternatives:

Sort in increasing order of $y$? But that would create horizontal dashes for the circular interface.

Additional Context:

I :heart: $\LaTeX$ in GitHub!