# Plot text orientation

4 messages
Open this post in threaded view
|

## Plot text orientation

 Is it possible to write text in a plot at an arbitrary angle?  The manual seems to say no: "The allowed values are "vertical" (default) or "horizontal"."  But I seem to remember that for some fonts it is possible? _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave
Open this post in threaded view
|

## Re: Plot text orientation

 Am 28.03.2017 um 19:23 schrieb Clinton Winant: Is it possible to write text in a plot at an arbitrary angle?  The manual seems to say no: "The allowed values are "vertical" (default) or "horizontal"."  But I seem to remember that for some fonts it is possible? _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave  text(0.3, 0.0001,'P(\beta)','rotation',90,'fontsize',12); Look it up in the manual. RTFM. _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave
 On 03/28/2017 02:36 PM, [hidden email] wrote: Am 28.03.2017 um 19:23 schrieb Clinton Winant: Is it possible to write text in a plot at an arbitrary angle?  The manual seems to say no: "The allowed values are "vertical" (default) or "horizontal"."  But I seem to remember that for some fonts it is possible? text(0.3, 0.0001,'P(\beta)','rotation',90,'fontsize',12); Look it up in the manual. RTFM. Well, on the default fltk terminal, rotation of anything up to 89 degrees results in horizontal text, while 90 results in vertical text, which is what Clinton's trying to avoid.  Switching to graphics_toolkit("gnuplot") on my system actually allows arbitrary angles. _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave
 Am 28.03.2017 um 20:56 schrieb Przemek Klosowski: On 03/28/2017 02:36 PM, [hidden email] wrote: Am 28.03.2017 um 19:23 schrieb Clinton Winant: Is it possible to write text in a plot at an arbitrary angle?  The manual seems to say no: "The allowed values are "vertical" (default) or "horizontal"."  But I seem to remember that for some fonts it is possible? text(0.3, 0.0001,'P(\beta)','rotation',90,'fontsize',12); Look it up in the manual. RTFM. Well, on the default fltk terminal, rotation of anything up to 89 degrees results in horizontal text, while 90 results in vertical text, which is what Clinton's trying to avoid.  Switching to graphics_toolkit("gnuplot") on my system actually allows arbitrary angles. _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave  I checked the command above; with pnuplot it works for different angles, for example text(0.3, 0.0001,'P(\beta)','rotation',60,'fontsize',12); gives the expected result. _______________________________________________ Help-octave mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-octave