precisely set the angle for the hatched fillling

pfb shared this question 9 months ago


I'd like to have an area with a hatching at precisely 60°, so that the lines are parallel to a pre-existing line. The slider in the style panel allows to adjust the angle, but it is difficult to do so in a precise way.

Is there another way, e.g. via a command-line in the input field?

I found the SetDecoration command, but it seems to me that it only allows to specify the pattern, but not the parameters for it.

Thanks a lot for your help

Comments (3)


the angle of hatching ticks go in 5º steps

it is easy to select 60º using the glass magnifier of windows

in the picture the triangle is equilateral/h+VOvRM03cJ+gAAAABJRU5ErkJggg==

but I think the hatching is not accurate


accurate and dynamic alternative with 2 list-commands


I did notice that the the slider seemed to move in 5° steps, apparently without the possibility of getting intermediate values (this is on a mac). However what should have been 60° (third tick after 45°) was in fact more like 58°.

Using the magnifier as you suggested did the trick, although I'm not sure why. The slider does move in discrete steps anyway.

Thank you for your help!

© 2020 International GeoGebra Institute