# Asking how to rotate a "defined style" (e.g. hexagon)

**URL:** <https://forum.generic-mapping-tools.org/t/asking-how-to-rotate-a-defined-style-e-g-hexagon/3142>\
**Category:** PyGMT Q&A\
**Created:** [July 21, 2022, 7:59am UTC](https://forum.generic-mapping-tools.org/t/asking-how-to-rotate-a-defined-style-e-g-hexagon/3142 "2022-07-21T07:59:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dakra137](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/dakra137/32/2410_2.png) [@dakra137](https://forum.generic-mapping-tools.org/u/dakra137)\
**Post date:** [July 21, 2022, 7:59am UTC](https://forum.generic-mapping-tools.org/t/asking-how-to-rotate-a-defined-style-e-g-hexagon/3142/1 "2022-07-21T07:59:51Z")

</div>

I am trying to plot a rotated hexagon, so that a corner is on top, rather than an edge on top. I tried two ways. One silently accomplishes nothing, while the other causes an error.

fig2.plot(x=20, y=34.64, style=“h12c/30”, pen=“2p,black”, color=“white”, transparency=90) # /30 ignored

fig2.plot(x=20, y=34.64, style=“h12c”, pen=“2p,black”, color=“white”, angle=30, transparency=90) # angle=30, is invalid

What is the a valid way, if any?

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [July 21, 2022, 8:18am UTC](https://forum.generic-mapping-tools.org/t/asking-how-to-rotate-a-defined-style-e-g-hexagon/3142/2 "2022-07-21T08:18:57Z")

</div>

I am unaware of any optional rotation angle argument to standard symbols. I think you just need to make a custom symbol where you can set a fixed or variable rotation.
