OEDrawUnpairedInteractionMapLegend¶
bool OEDrawUnpairedInteractionMapLegend(OEDepict::OEImageBase &image,
const OE2DActiveSiteDisplay &adisp,
const OE2DActiveSiteLegendDisplayOptions &opts)
Draws legend for unpaired interaction map.
- image
The image in which the color gradient is drawn.
- adisp
The OE2DActiveSiteDisplay object that holds the data necessary to depict the B-factor information of an active site.
- opts
The OE2DActiveSiteLegendDisplayOptions object that determines how the legend is depicted.
Example:
// initailize OE2DActiveSiteDisplay
OEImage cgimage = new OEImage(400.0, 200.0);
OE2DActiveSiteLegendDisplayOptions lopts = new OE2DActiveSiteLegendDisplayOptions(3, 2);
oegrapheme.OEDrawUnpairedInteractionMapLegend(cgimage, adisp, lopts);
oedepict.OEWriteImage("DrawUnpairedMapLegend.svg", cgimage);

Example of using the OEDrawUnpairedInteractionMapLegend function¶
See also
OERenderUnpairedInteractionMap
function
Code Example
Visualizing Protein-Ligand Unpaired Interactions OpenEye Python Cookbook recipe