Difference between revisions of "Polar rose plot"
Line 1: | Line 1: | ||
− | A '''polar rose plot''' (or '''roseplot''') is an angle histogram showing the distribution of values grouped according to their numeric range (viewed as a "polar plot"). It is similar to a [[wikipedia:Rose_%28mathematics%29|polar rose]] (i.e. with <tt>r = cos(k*θ</tt>)) but not necessarily symmetric, as the symmetry (or "direction" of petals) is entirely dependant on the input data. | + | A '''polar rose plot''' (or '''roseplot''' / '''rose diagram''' and sometimes a '''rhodonea plot''') is an angle histogram showing the distribution of values grouped according to their numeric range (viewed as a "polar plot"). It is similar to a [[wikipedia:Rose_%28mathematics%29|polar rose]] (i.e. with <tt>r = cos(k*θ</tt>)) but not necessarily symmetric, as the symmetry (or "direction" of petals) is entirely dependant on the input data. |
A roseplot is useful for viewing the "direction" of input data. It is commonly used for plotting the daily (or yearly, etc.) average wind direction at a given location (sometimes called a "wind direction plot" or a "wind rose"). | A roseplot is useful for viewing the "direction" of input data. It is commonly used for plotting the daily (or yearly, etc.) average wind direction at a given location (sometimes called a "wind direction plot" or a "wind rose"). | ||
+ | |||
+ | Roseplots display degree, radian, or grad data versus a radial axis. Like histograms, roseplots display statistical data, showing the number of occurrences of an event that fall within a specific angular region. | ||
I routinely use roseplots in my [[:Category:Bioinformatics|bioinformatics]] [[:Category:Academic Research|research]]. They are especially useful for getting an overview of amino acid- or nucleotide-usage in a given genome or sequence (note: to see what I mean, have a look at the Genome Atlas Server at CBS). | I routinely use roseplots in my [[:Category:Bioinformatics|bioinformatics]] [[:Category:Academic Research|research]]. They are especially useful for getting an overview of amino acid- or nucleotide-usage in a given genome or sequence (note: to see what I mean, have a look at the Genome Atlas Server at CBS). | ||
+ | |||
+ | ==Equations== | ||
+ | The polar equation of the rose is | ||
+ | r=α*sin(''n''θ) | ||
+ | ~OR~ | ||
+ | r=α*cos(''n''θ) | ||
+ | If ''n'' is odd, the rose is ''n''-petalled. If ''n'' is even, the rose is 2''n''-petalled. Integer values of ''n'' give the kind of roseplots described in this article. | ||
==External links== | ==External links== | ||
*[http://mathworld.wolfram.com/Rose.html Mathworld article on rose curves] | *[http://mathworld.wolfram.com/Rose.html Mathworld article on rose curves] | ||
*[http://www25.brinkster.com/denshade/PolarFlower.html Applet to create rose with k parameter] | *[http://www25.brinkster.com/denshade/PolarFlower.html Applet to create rose with k parameter] | ||
− | *[http://www.mathworks.com/access/helpdesk/help/techdoc | + | *[http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/rose.html&http://www.mathworks.com/cgi-bin/texis/webinator/search/?db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500&rlead=250&sufs=0&order=r&is_summary_on=1&ResultCount=10&query=rose&submitButtonName=Search MATLAB Function Reference - rose] |
*[http://mensch.org/vplot/windrose/ Wind rose] — include a [[Python]] script and examples. | *[http://mensch.org/vplot/windrose/ Wind rose] — include a [[Python]] script and examples. | ||
*[http://www.windpower.org/en/tour/wres/roseplot.htm Wind Rose Plotter Programme] | *[http://www.windpower.org/en/tour/wres/roseplot.htm Wind Rose Plotter Programme] |
Revision as of 01:32, 16 July 2007
A polar rose plot (or roseplot / rose diagram and sometimes a rhodonea plot) is an angle histogram showing the distribution of values grouped according to their numeric range (viewed as a "polar plot"). It is similar to a polar rose (i.e. with r = cos(k*θ)) but not necessarily symmetric, as the symmetry (or "direction" of petals) is entirely dependant on the input data.
A roseplot is useful for viewing the "direction" of input data. It is commonly used for plotting the daily (or yearly, etc.) average wind direction at a given location (sometimes called a "wind direction plot" or a "wind rose").
Roseplots display degree, radian, or grad data versus a radial axis. Like histograms, roseplots display statistical data, showing the number of occurrences of an event that fall within a specific angular region.
I routinely use roseplots in my bioinformatics research. They are especially useful for getting an overview of amino acid- or nucleotide-usage in a given genome or sequence (note: to see what I mean, have a look at the Genome Atlas Server at CBS).
Equations
The polar equation of the rose is
r=α*sin(nθ) ~OR~ r=α*cos(nθ)
If n is odd, the rose is n-petalled. If n is even, the rose is 2n-petalled. Integer values of n give the kind of roseplots described in this article.
External links
- Mathworld article on rose curves
- Applet to create rose with k parameter
- MATLAB Function Reference - rose
- Wind rose — include a Python script and examples.
- Wind Rose Plotter Programme
- wikipedia:Polar coordinate system
- wikipedia:List of canonical coordinate transformations
This article is curently a "stub". This means it is an incomplete article needing further elaboration.
I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!