OERenderRamachandranPlot¶
bool OERenderRamachandranPlot(OEDepict::OEImageBase &image, const OERamachandranPlot &plot)Renders the six Ramachandran plots into separate tabs of the given image.
- image
The image on which the Ramachandran plots are rendered.
- plot
The OERamachandranPlot object that stores the data of a Ramachandran plot.
Note
This functionality is only available for
.svg
image format.Example:
OEImage image = new OEImage(800, 600); OERamachandranPlot ramaplot = new OERamachandranPlot(); ramaplot.AddMolecule(protein); OEGrapheme.OERenderRamachandranPlot(image, ramaplot);
bool OERenderRamachandranPlot(OEDepict::OEImageBase &image,
const OERamachandranPlot &plot,
unsigned int ramatype)
Renders a specific Ramachandran plot into the given image.
- image
The image on which the specific Ramachandran plot is rendered.
- plot
The OERamachandranPlot object that stores the data of a Ramachandran plot.
- ramatype
The type of the Ramachandran plot being rendered. This value has to be from the
OERamaType
namespace.
See also
OERamachandranAnalysis class in OEChem TK manual
Example:
OEImage image = new OEImage(800, 600);
OERamachandranPlot ramaplot = new OERamachandranPlot();
ramaplot.AddMolecule(protein);
OEGrapheme.OERenderRamachandranPlot(image, ramaplot, OERamaType.General);
Code Example
Ramachandran Plot OpenEye Python Cookbook recipe