Cuando guardo la figura como SVG, se pierde la rotación del texto.Hola a todos -
Estoy ejecutando JMP Pro 16.1.0 y tengo un problema que me está volviendo loco. Tengo una figura bastante compleja con toneladas de datos.Necesito agregarle algunas etiquetas de texto para poder describir diferentes períodos de tiempo. Es necesario rotar el texto para que encaje en el espacio y se lea bien. Leí en una publicación que las anotaciones de texto no se pueden rotar en sentido antihorario, pero el texto antiguo sin formato sí.Entonces agregué mis etiquetas de texto como se muestra en el siguiente script:

Cuando ejecuto el script, la figura es PERFECTA.Tomó mucho tiempo llegar a este punto.Estoy muy contento con él en JMP, así es como se ve:

Este es mi problema: cuando exporto/guardo el gráfico como SVG, la rotación del texto se pierde como se muestra a continuación:

Si exporto como un archivo EMF, la rotación del texto se mantiene, pero quiero guardarlo como SVG. ¿Alguna idea de por qué sucede esto o si tiene que ver con el script?Realmente me está volviendo loco, he pasado HORAS en estos conjuntos de gráficos y solo quiero que esas etiquetas giren y un bonito archivo SVG.
Gracias a todos por CUALQUIER aporte que puedan brindar.
Automatización y secuencias de comandosExploración y visualización de datosCompartir y comunicar resultadosventanasRe: Cuando guardo la figura como SVG, se pierde la rotación del texto.Parece un error. Puedes solucionarlo de esta manera:
Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Use the TextFont command to specify the font name and rotation.Utilice el comando TextFont para especificar el nombre de la fuente y la rotación.
@Audrey_Shull - el gráfico inferior es el SVG guardado, abierto en un visor externo, Firefox en este caso.
gb = Graph Builder(
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements(
Points( X, Y, Legend( 1 ) ),
Smoother( X, Y, Legend( 2 ) )
),
SendToReport(
Dispatch( {}, "height", ScaleBox,
{Label Row( Label Orientation( "Perpendicular" ) )}
),
Dispatch( {}, "weight", ScaleBox,
{Label Row( Label Orientation( "Angled" ) )}
)
)
);
Report( gb )[framebox( 1 )] <<
addgraphicsscript( Text( counterclockwise, {60, 60}, "Hello" ) );
Report( gb )[framebox( 1 )] <<
addgraphicsscript(
{fname, fsize, fstyle, fangle} = Text Font();
Text Font( fname, fsize, fstyle, -90 );
Text( {65, 60}, "Hello" );
);
Re: Cuando guardo la figura como SVG, se pierde la rotación del texto.Gracias por el ejemplo @Craige_Hales - Abrimos un ticket con el equipo de desarrollo, pero también es bueno tener documentada esta solución.
Re: Cuando guardo la figura como SVG, se pierde la rotación del texto.¡Gracias!Lo intentaré más tarde hoy e informaré.
-Érika.
Re: Cuando guardo la figura como SVG, se pierde la rotación del texto.Hola Craige.
¡¡¡Funciona!!!El texto se exporta perfectamente.
¡Gracias, gracias, gracias!
-Érika.