help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plot text orientation


From: fibonacci4
Subject: Re: Plot text orientation
Date: Wed, 29 Mar 2017 06:11:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Am 28.03.2017 um 20:56 schrieb Przemek Klosowski:
On 03/28/2017 02:36 PM, address@hidden 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
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]