Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
How to have angular and radial gridlines in polar plot? Can someone please share an example of how to do it prime
Solved! Go to Solution.
The native Prime plots don't offer grid lines and the badly implemented third party chart component does not allow polar plots, as far as I am aware (I may be wrong because I don't use it).
So you are on your own and if you want grid lines, you have to create them yourself.
Attached is a little program which does exactly that. The grid is a second trace an can be formatted as needed.
Remark: For normal polar plots you would chose r1=0 of course.
It makes sense to adapt the numbers on the axis of the polar plot to the values chosen for the grid (or vice versa). You can change the second angle in the plot (18 in the pic) and the first, second and last value of the radii (-2. -1 and 3 in the plot).
I use the worksheet variables which are defined above the call to RGrid in the plot, but unfortunately the second value for the radii which is r.1+(r.2-r.1)/n.r is automatically changed to fix scalar whenever I change the value of r.1. I would call it a bug.
You will see the effect if you change r.1 from -2 to 0 and then back to -2.
The native Prime plots don't offer grid lines and the badly implemented third party chart component does not allow polar plots, as far as I am aware (I may be wrong because I don't use it).
So you are on your own and if you want grid lines, you have to create them yourself.
Attached is a little program which does exactly that. The grid is a second trace an can be formatted as needed.
Remark: For normal polar plots you would chose r1=0 of course.
It makes sense to adapt the numbers on the axis of the polar plot to the values chosen for the grid (or vice versa). You can change the second angle in the plot (18 in the pic) and the first, second and last value of the radii (-2. -1 and 3 in the plot).
I use the worksheet variables which are defined above the call to RGrid in the plot, but unfortunately the second value for the radii which is r.1+(r.2-r.1)/n.r is automatically changed to fix scalar whenever I change the value of r.1. I would call it a bug.
You will see the effect if you change r.1 from -2 to 0 and then back to -2.
Here's another implementation.
Which also allows to create grids such as:
Success!
Luc
It would be nice to start with the ability to draw not one, but two axes.