Am 28.03.2017 um 20:56 schrieb Przemek
Klosowski:
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
address@hidden
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.
|