help-octave
[Top][All Lists]
Advanced

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

Re: exponents in strings


From: David Bateman
Subject: Re: exponents in strings
Date: Tue, 12 Aug 2003 19:28:07 +0200
User-agent: Mutt/1.3.28i

Daprès Yusif Khalil Akhund <address@hidden> (le 12/08/2003):
> Hi,
> 
> I'm trying to pring T^-1 in standard form on a plot, but if I type in
> 
> xlabel("...T^-1")

Firstly that should read

xlabel("...T^{-1}")

otherwise the "-" is superscripted but the 1 isn't. This follows TeX 
conventions.

> it is printed exactly as entered.  Does anyone know how to create a string
> that contains exponents (superscripts)?  Thanks.

Secondly, you won't get the superscripts, etc on the screen. But if you then 
do something like

gset term postscript enhanced color solid 'Times-Roman' 18
gset output 'myplot.ps'
replot

You'll get them in the postscript file myplot.ps

D.

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



-------------------------------------------------------------
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]