[Scilab-users] xstring + format decimal number.

Stéphane Mottelet stephane.mottelet at utc.fr
Fri Mar 26 12:14:16 CET 2021


Hi,

Le 25/03/2021 à 18:19, Marcus Vinicius P. de Souza a écrit :
> Dear all,
> I am not getting to formate strings using xstring command. For example:
>
> Mp=54.5666666
>
> xstring(1,1,'$\LARGE Mp={'+string(Mp)+'}\%$')
>
> I want only: Mp=54.56%
> How do I do?
> Besides this, it is possible to define some position using "xstring" only by
> click in figure?
> "Fontsize" command doesn't work in xstring?
> Can anybody help me?

For the two last points see my answers on StackOverflow (please avoid 
cross-posting in the future):

https://stackoverflow.com/questions/66808702/xstring-format-decimal-number-scilab

S.

> Best regards.
>
>
>
>
> --
> Sent from: https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the users mailing list