# how do I change polar plots visual characteristics?

11 views (last 30 days)
Tiberius on 10 May 2014
I have my data in 2 equal matrices (a and b). I want to plot this using polar, but I want to change how it looks - increase marker size, change the marker color, put the value 90 in the center and 0 on the outside (on the circle with the greatest radius of the plot) and use a logarithmic scale (for the radius). I can do this all for the regular plot, but I just don't know how to write the variable s from polar(a,b,s) in order to specify those particular things. Thanks. I mention that I tried mmpolar contribution, it works fine for all, but I can't change the things mentioned above (it doesn't throw any error, just does nothing).

dpb on 10 May 2014
Tough...I "know nuthink" about the FEx submission, but polar plots in handle graphics are rendered on a cartesian axes object as there is no underlying polar-coordinates axes system implemented. Internally, polar converts the input data to cartesian coordinates and draws the line in that space. Hence the actual changes in plotting will have to be transformed into a set of other variables that reflect the desired characteristics--I'm guessing it might be simpler to just draw from basic principles rather than try to mung on the prepared plots in that case.
The marker color and size, etc., can be readily modified from the properties of the line via the returned handle to the line object(s) drawn; but that seems a minor detail in your overall request.
Tiberius on 11 May 2014
Hey, thanks. Can you give an example though of how to change the object handles. I don't quite get what this "handle" thing means.

Star Strider on 10 May 2014
The polar function is notoriously resistant to changing its parameters. Use pol2cart, plot in Cartesian coordiantes, and then make the appropriate modifications.

Jose Ramon Silos de Alba on 11 Dec 2018
Try this:
figure
polaraxes
set(gca, 'ColorOrder', YourColorOrder, 'NextPlot', 'replacechildren') %Example for color order

Translated by