Scilab 5.4.1
      
      
    Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
xstringb
escreve strings em uma caixa
Seqüência de Chamamento
xstringb(x,y,str,w,h,[option])
Parâmetros
- x,y,w,h
- vetor de 4 escalares reais definindo a caixa 
- str
- matriz de strings 
- option
- string 
Descrição
xstringb desenha a matriz de strings
            str centrada dentro do retângulo
            rect=[x,y,w,h] (ponto inferior esquerdo, largura,
            altura) na escala gráfica corrente.
Se option for fornecido com o valor
            "fill", o tamanho do caractere é computado de modo a
            preencher o retângulo o máximo possível.
Entre com o comando xstringb() para uma
            demonstração.
Exemplos
str=["Scilab" "não";"é" "elisaB"]; plot2d(0,0,[-1,1],"010"," ",[0,0,1,1]); r=[0,0,1,0.5]; xstringb(r(1),r(2),str,r(3),r(4),"fill"); xrect(r(1),r(2)+r(4),r(3),r(4)) r=[r(1),r(2)+r(4)+0.01,r(3),r(4)/2]; xrect(r(1),r(2)+r(4),r(3),r(4)) xstringb(r(1),r(2),str,r(3),r(4),"fill"); r=[r(1),r(2)+r(4)+0.01,r(3),r(4)/2]; xrect(r(1),r(2)+r(4),r(3),r(4)) xstringb(r(1),r(2),str,r(3),r(4),"fill");
Ver Também
| Report an issue | ||
| << xstring | text | xstringl >> |