[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rotate label by +45 or - 45 degrees
From: |
Henry F. Mollet |
Subject: |
Re: Rotate label by +45 or - 45 degrees |
Date: |
Fri, 12 Aug 2005 10:27:53 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
Thank you, rotate *by* does the trick. It also works with deprecated gset
and __gnuplot_set__. Works for any angle.
Henry
on 8/11/05 8:04 PM, Geordie McBain at address@hidden
wrote:
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------