Yes, itβs easy to do for straight lines, the curve is harder, perhaps easier with monospaced fonts. The basic technique would be to simply transform your linear equation so that you can get the polar expression at an angle. Use this angle to set the angle of the text in the text command using the srt argument (from graphic options).
For a curve, this would be a bit more complicated (possibly simplified by disproportionate fonts). You need to work out vectors for each letter with an angle, and then across the width of each character (using strwidth ). You must generate a vector of angles and positions for your characters and scroll through them, calling text . You need a loop here because text cannot take a vector for the srt argument.
source share