[scilab-Users] annotation of graphs with Greek and LaTeX symbols

Peter Hinow hinow at uwm.edu
Fri Nov 20 19:04:01 CET 2009


Sylvestre,
it works, and beautifully so!
Thanks for your help,
      Peter

----- Original Message -----
From: "Sylvestre Ledru" <sylvestre.ledru at scilab.org>
To: users at lists.scilab.org
Cc: "Peter Hinow" <hinow at uwm.edu>
Sent: Friday, November 20, 2009 12:42:08 AM GMT -06:00 US/Canada Central
Subject: Re: [scilab-Users] annotation of graphs with Greek and LaTeX symbols

Le jeudi 19 novembre 2009 à 17:23 -0600, Peter Hinow a écrit :
> Hello Sylvestre et al,
> it works with xstring, but not within legend. Or am I missing something?
Can you show us your example which is failing ?

This works for me with the current 5.2 branch:
t=linspace(0,%pi,20);
a=gca();a.data_bounds=[t(1) -1.8;t($) 1.8];
plot2d(t,[cos(t'),cos(2*t'),cos(3*t')],[-5,2 3]);  
hl=legend(['$cos(t)$';'$cos(2*t)$';'$cos(3*t)$']);
 
Thx
Sylvestre





More information about the users mailing list