Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6584355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:31:38+00:00 2026-05-25T16:31:38+00:00

Building up on From Cartesian Plot to Polar Histogram using Mathematica I would like

  • 0

Building up on
From Cartesian Plot to Polar Histogram using Mathematica I would like to customize the R and theta Axes :

please consider :

list = {{21, 16}, {16, 14}, {11, 11}, {11, 12}, {13, 15}, {18,17}, {19, 11}, {17, 16}, {16, 19}}

Module[{Countz, maxScale, angleDivisions, dAng}, 
        maxScale = 4;
        angleDivisions = 12;
        dAng = (2 \[Pi])/angleDivisions;
        Countz = BinCounts[ Flatten@Map[ArcTan @@ (# - ScreenCenter) &, list, {1}], 
                            {-Pi, Pi,dAng}];

        SectorChart[{ConstantArray[1, Length[Countz]], Countz}\[Transpose], 
        SectorOrigin -> {-\[Pi]/angleDivisions, "Counterclockwise"}, 
        PolarAxes -> True, PolarGridLines -> {Automatic, {1, 2, 3, 4, 5}},
        PolarAxesOrigin -> {Pi/2, 5},
        PolarTicks -> {Table[{i \[Degree] + \[Pi]/angleDivisions, i \[Degree]}, 
                       {i, 0, 345, 30}], Range[5]}, 
        ChartStyle -> {Directive[EdgeForm[{Black, Thickness[0.005]}], Red]},
        BaseStyle -> {FontFamily -> "Arial", FontWeight -> Bold, 
        FontSize -> 12}, ImageSize -> 400, 
        ChartElementFunction -> Function[{range}, 
                                Disk[{0, 0}, range[[2, 2]], -11 Pi/12 + range[[1]]]]]]

enter image description here

2/I would like to add one “theta bar” colored at 45 Degree (as shown in the image). However I did that using ppt. I could not find a mean to keep the Table to get the main theta axes and draw another one colored differently.

enter image description here

3/I failed to adapt the solution provided on Customsize Backgroud in Plot within Mathematica to a Polarplot using Prolog. Is it possible to have the area within the outer circle of the plot colored in Gray let`s say ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:31:39+00:00Added an answer on May 25, 2026 at 4:31 pm

    You could use Epilog to create the line and Prolog for the background, e.g.

    Module[{Countz, maxScale, angleDivisions, dAng}, maxScale = 4;
     angleDivisions = 12;
     dAng = (2 \[Pi])/angleDivisions;
     Countz = 
      BinCounts[
       Flatten@Map[ArcTan @@ (# - ScreenCenter) &, list, {1}], {-Pi, Pi, dAng}];
    
     SectorChart[{ConstantArray[1, Length[Countz]], Countz}\[Transpose], 
      SectorOrigin -> {-\[Pi]/angleDivisions, "Counterclockwise"}, 
      PolarAxes -> True, PolarGridLines -> {Automatic, {1, 2, 3, 4, 5}},
      PolarAxesOrigin -> {Pi/2, 5}, 
      PolarTicks -> {Table[{i \[Degree] + \[Pi]/angleDivisions, 
          i \[Degree]}, {i, 0, 345, 30}], Range[5]}, 
      ChartStyle -> {Directive[EdgeForm[{Black, Thickness[0.005]}], Red]},
       BaseStyle -> {FontFamily -> "Arial", FontWeight -> Bold, FontSize -> 12}, 
      ImageSize -> 400, 
      ChartElementFunction -> 
       Function[{range}, 
        Disk[{0, 0}, range[[2, 2]], -11 Pi/12 + range[[1]]]],
      Epilog -> {Red, Thick, Line[{{0, 0}, 5/Sqrt[2] {1, 1}}]},
      Prolog -> {Gray, Disk[{0, 0}, 5]}]]
    

    sectorchart with line and gray background

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to get verbose console output while building from eclipse and hudson.
We would like to use Intel Threading Building Blocks from plain C, not C++.
I'm building a quick csv from a mysql table with a query like: select
I'me getting the following after building from he command line using xcodebuild, ay ideas
I am building images from a byte[] like below. public FileContentResult GetEmployeeImage(int empId) {
Building on from a previous query regarding Class::Struct vs Object::Accessor, I'd like to find
I've been away from building browser applications for a long time. I'm now interested
I have created a Windows Service in VB.net for building xML from a database.
I have to port the build of a DLL from building in Visual Studio
Has anyone out there got a good set of instructions for building/compiling Ruby from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.