I wonder about that scaling factor in
*/ , 5e_7 > | hexCorners - 0.537285 * +. (_1^1r3)^i.6
Is there anything special about it?
Am 07.02.21 um 21:28 schrieb Devon McCormick:
> I'm trying to draw a unit hexagon centered at the origin with the
> horizontal sides parallel to the X-axis. I've come up with these
> co-ordinates for the corners but when I plot them, the drawing looks a
> little too wide:
>
> hexCorners=. _2]\,0.537285 0 0.268642 0.465302 _0.268642 0.465302
> _0.537285 0 _0.268642 _0.465302 0.268642 _0.465302
> 'title Regular Unit Hexagon Centered at Origin;type line;pensize 2' plot
> (],{.) j./"1 hexCorners
>
> I can use my paint program to distort a picture of this plot until it looks
> like it has a square aspect ratio (roughly, width height * 0.92 1.06) but
> how can I plot this with the correct aspect ratio in the first place?
>
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm