pstext: ability to rotate the text string around X and Y axes when making a plot with a perspective view.
|Target version:||Candidate for next minor release|
Currently the angle which is given as parameter (-F+a) only allows the text string to be rotated around the Z axis. It would be useful to be able to rotate it around the X and Y axes to facilitate the its location and readability when making a plot with a perspective view.
In the graph attached I've tried to demonstrate it. In black it's the string rotated around the Z axis, in red it's the string rotated around the Z and X axes and in blue it's the string rotated around Z, X and Y axes.
#1 Updated by Remko over 8 years ago
- Assignee set to Remko
I see what you mean. To accomplish what you have managed to do, you have to tweak the projection (-p parameters) to get it done, rather than more "straightforward" ways using the +F+a+j options available to pstext.
I must add that I've experimented with things similar to this before (see issue #182) but then ran into some limitations of our transformation matrix approach to texts. For example, you can never actually "see the text from the back" when viewing angles are such that that would be the case. The text simply would not mirror-image.
I'm willing to try again at least with those limitations.