On 9/9/07 at 6:19 AM, forgalaxia at gmail.com (Galaxia) wrote:
>I have a set of {theta, r} (say, size n), and want to plot them with
>ListPolarPlot. I want the first and last points are connected to get
>a closed curve. How can I do it?
All you need do is append the first point in you data set to the
end of the data set, i.e.,
data = RandomReal[{0, 1}, 50];
ListPolarPlot[Join[#, {First@#}] &@data, Joined -> True]
will produce a closed curve
--
To reply via email subtract one hundred and four