Description Usage Arguments Value Author(s) Examples
Quick expression generation for axes labels, etc.
1 2 3 4 5 6 7 8 | label_in_plane_wavevector(subscript,si_prefix)
label_angular_frequency()
label_polar_angle(unit)
label_azimuthal_angle(unit)
label_reflection(subscript)
label_transmission(subscript)
label_wavelength(si_prefix)
label_frequency(si_prefix)
|
subscript |
A charcter string for using in the relavent subscript of the expression. |
si_prefix |
A character string for the SI unit scale prefix. Greek letters may be typed, for example "mu" will display as the greek symbol mu. The default is "phantom()", which produces no prefix. |
unit |
Unit to use for angles. Default is degree, producing a degree symbol. |
A R expression for use in labels and text.
Tom Constant
1 2 3 4 5 6 7 8 | plot(NA,NA,xlim=c(0,1),ylim=c(0,1))
text(0.5,1,label_angular_frequency())
text(0.5,0.9,label_azimuthal_angle())
text(0.5,0.8,label_in_plane_wavevector(subscript="gamma",si_prefix="c"))
text(0.5,0.7,label_polar_angle())
text(0.5,0.6,label_reflection("TM"))
text(0.5,0.5,label_wavelength(si_prefix="mu"))
text(0.5,0.4,label_frequency(si_prefix="G"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.