FAQ
overflow

Great Answers to
Questions About Everything

QUESTION

I must plot some data in radians and would like to use this image as a background to that graph. Although it looks good the lines are degraded in image form. thus the reason for this question. Can something like this be drawn in Mathematica? Colored Circular Graph

{ asked by R Hall }

ANSWER

Here's a start. I'll leave the labeling and fine tuning the details to you:

With[{thin = {Thin, Opacity[0.4]}},
    RegionPlot[x^2 + y^2 <= 1, {x, -1, 1}, {y, -1, 1}, 
        ColorFunction -> (Hue[ArcTan[#, #2]/(2 π)] &), 
        ColorFunctionScaling -> False, PlotPoints -> 100, Frame -> False,
        Mesh -> {21, 21, 10, 7, 47}, MeshStyle -> {thin, thin, thin, thin, thin}, 
        MeshFunctions -> {# &, #2 &, Norm[{#1, #2}] &, ArcTan[# , #2] &, ArcTan[# , #2] &}
    ]
]

enter image description here

{ answered by rm -rf }
Tweet