[15805] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Bill Green: matlab_v5

daemon@ATHENA.MIT.EDU (Abby Fox)
Mon Feb 23 14:11:41 1998

To: whgreen@MIT.EDU
Cc: bugs@MIT.EDU
In-Reply-To: [15781]
Date: Mon, 23 Feb 1998 14:11:37 EST
From: Abby Fox <ajfox@MIT.EDU>

Hello.

The error you reported from SXLABEL is due to changes in matlab's
graphics functions in ver. 5.  Note that SXLABEL comes from a
user-contributed toolbox, not the vendor:

>> which sxlabel
/mit/matlab_v5.1/distrib/toolbox/contrib/graphics/sxlabel.m
>> help contrib/graphics
 
  Styled Text Toolbox.
  Version 2.1, 8 September 1995
  Copyright 1995 by Douglas M. Schwarz.  All rights reserved.
  schwarz@kodak.com

...

In the specific case you mentioned, you can instead use the matlab
function XLABEL to create a Greek axis label:

>> xlabel('\rho^{1/3}')

If there are other useful tools in the Styled Text Toolbox which
haven't been superseded by the vendor-supplied functions, it may be
worth contacting the person who wrote it about whether he has updated
versions -- if so, we'd be happy to replace the outdated ones.
(Unfortunately, we don't have the resources to check all contrib
toolboxes for compatibility issues; instead we've made the ver. 4.2
contrib files available under ver. 5, and are selectively
removing/replacing them as problems appear.)


Abby Fox
Academic Computing

>There is apparently a bug in matlab version 5 as currently implemented on Athena
>for the Sun SPARClassic. When I tried to use sxlabel to put a greek label
>with a 
>superscript
>
>\rho^{1/3}
>
>on a 2-d plot, the program complains that the Color has been set to an
>invalid value.

home help back first fref pref prev next nref lref last post