Sorry, but doing anything with polar plots is very complicated since they are not first-class plots, hut basically drawn up using lines and circles. As such, any modification has to be done inside the logic of the code.
But, by changing your angular data to get the plot to draw itself using the right direction for 0° and CW you can get the data in the right Place. Then you just go in to the code and remove the drawing of the lines you do not want, then you should get the results you need. The only challenge would be to get the tick labels right, but you could hack that as well.
I am attempting to plot multiple series of theta (phase) and magnitude data on the same polar plot.
I have used the 'polar', 'pp', 'polar2', and 'polar2' advanced m files. Each has a different limitation. I would like to plot each series on the same polar plot, then reorient the polar plot so that 0° at top and degrees rotate CW, using the command with 'view(90°,-90°)', . Then use the 'polarticks.m' function to clean up the plot by removing radial and angular gridline except for the main 4 quadrants. so have gridlines only at every 90°. Maybe not all in this order.
Not too terribly complicated.
I thought that I just about have what I want, but have not been able to duplicate it.----- So now I cannot for the life of me contort or rearrange the coding or revise the gca or children to make this a usable tool that we can use again and again for lots of data.
Any help that you could provide would be much appreciated.
LORENA: This file uses a very bad method of drawing and can therefore not be used to draw inside existing plots or subplots. However, that is completely possible with my other submission, polar2. Now, if there is a feature in this file that you need and cannot find in polar2, just let me know with a comment to that file, and I will check if I can implement it.
I have loaded pp.m. I would like to show my graphics in axes_handles,is this possible? (I have a GUI), because I have been looking the code and I don't know how change this option. Thank you, Lorena.
I'm plotting normalized power radiation pattern in dB scale 0 to [-inf]. Your code does not seem to work at all when 0 is defined as the maximum value. When I try with other data with 0 as the least value, your code works awesome.
There is an error at least on OS X - the variables TraceMax and TraceMin are initialized as empty stings, which leads to strange behavior when catenating with doubles.
This leads to the error 'Centre value is same as maximum input value' being thrown erroneously.
I suggest changing lines 1326 and 1313 to
TraceMax = ;
TraceMin = ;
That is correct. This function has very many limitations. My suggestion is to rewrite the function with a bit less functionality and fewer ugly hacks, or pester your local Mathworks representative to improve the functionality of the built-in polar function.