The goal of lcdiagrammer
is to provide a way of producing schematic
(symbolic and simplified) diagrams of Liquid Crystal (LC) alignments.
Add package to search path
library(lcdiagrammer)
Generate LC diagrams with default settings. Using the seed argument keeps the same molecule positions between plots.
par(mfrow=c(1,2))
lcd(45, -45, seed=1)
lcd(45, 135, seed=1)
Here run with rectangles rather than elipses
par(mfrow=c(1,2))
lcd(45, -45, strate1 = 0.05, strate2=0.05, mol="rect")
lcd(45, 135, strate1 = 0.05, strate2=0.05, mol="rect")
par(mfrow=c(1,2))
lcd(0, 360, strate1 = 0.05, strate2=0.05, mol="rect", right=2, bg_col = "lightblue")
lcd(0, 360, strate1 = 0.05, strate2=0.05, mol="rect", top=2, right=0.5, lc_col = "darkgoldenrod1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.