Consider:
MoleculePlot[Molecule[Entity["Chemical", "Theobromine"]]]
How can I rotate and reflect it? This is my current method:
img=Image[MoleculePlot[Molecule[Entity["Chemical", "Theobromine"]]]];
ImageRotate[ImageReflect[img]]
I would like two improvements on my current method:
- The result is no longer a
Graphics
object. Instead I would like to retain the sameHead
(i.e.,Graphics
). - I want to retain the orientation of the atom labels as they were in the first plot, i.e., the "right way up".
Graphics[]
in general, or forMoleculePlot[]
in particular? If the latter, you can doMoleculeModify[mol, "ComputeAtomDiagramCoordinates"]
and then transform the coordinates of those before feeding toMoleculePlot[]
. $\endgroup$MoleculePlot
here. It's seem"TransformAtomCoordinates"
can help. But it doesn't seem to work in 2D $\endgroup$PlotTheme
inMoleculePlot
was not giving the right choices. $\endgroup$