help-octave
[Top][All Lists]
Advanced

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

Re: Rotate label by +45 or - 45 degrees


From: Geordie McBain
Subject: Re: Rotate label by +45 or - 45 degrees
Date: Fri, 12 Aug 2005 13:04:25 +1000

Hello.  To rotate text in gnuplot, you need to tell it `rotate by 45',
not just `rotate 45', as in:

octave> __gnuplot_raw__ ("set label 1 'some inclined text' rotate by 45
\n")
octave> __gnuplot_raw__ ("plot sin(x)\n")
octave> 

On Thu, 2005-08-11 at 19:11 -0700, Henry F. Mollet wrote:
> According to 'test' in gnuplot in AquaTerm and X11 a text label can be
> rotated by 90, 45 and -45 degrees. I have no problems in AquaTerm with the
> default which is +90 but how do I specify +45 and -45. I had no luck with
> "45" nor "+45".
> Henry
> N.B. Greek A is the same a latin A in symbol font and so are '=' and '2'.
> 
> Octave 2.1.71/gnuplot 4.0/AquaTerm 1.0
> octave:40> gset label 4 "A/a=2" at 0.1, 0.12 rotate  font "Symbol,14"
> octave:41> replot
> octave:42> gset label 4 "A/a=2" at 0.1, 0.12 rotate "45"  font "Symbol,14"
> octave:43> 
> gnuplot> set label 4 "A/a=2" at 0.1 , 0.12 rotate "45" font "Symbol,14"
>                                                   ^
>          line 0: extraneous or contradicting arguments in label options
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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