Lorsque j'enregistre la figure au format SVG, la rotation du texte est perdue.Bonjour à tous -
J'utilise JMP Pro 16.1.0 et j'ai un problème qui me rend fou. J'ai un chiffre assez complexe avec des tonnes de données.Je dois y ajouter des étiquettes de texte pour pouvoir décrire différentes périodes de temps. Le texte doit être pivoté pour qu'il tienne dans l'espace et soit bien lu. J'ai lu dans un article que les annotations de texte ne peuvent pas être tournées dans le sens inverse des aiguilles d'une montre, mais que le texte ancien peut le faire.J'ai donc ajouté mes étiquettes de texte comme indiqué dans le script ci-dessous :

Lorsque j'exécute le script, le chiffre est PARFAIT.Il a fallu beaucoup de temps pour en arriver là.J'en suis super content dans JMP, voici à quoi ça ressemble :

Voici mon problème : lorsque j'exporte/enregistre le graphique au format SVG, la rotation du texte est perdue comme indiqué ci-dessous :

Si j'exporte sous forme de fichier EMF, la rotation du texte est conservée, mais je souhaite l'enregistrer au format SVG. Avez-vous une idée de la raison pour laquelle cela se produit ou si cela a à voir avec le script ?Cela me rend vraiment fou, j'ai passé des HEURES sur ces ensembles de graphiques et je veux juste que ces étiquettes tournent et un joli fichier SVG.
Merci à tous pour TOUTE contribution que vous pouvez fournir.
Automatisation et scriptsExploration et visualisation des donnéesPartager et communiquer les résultatsles fenêtresRe : Lorsque j'enregistre la figure au format SVG, la rotation du texte est perdue.On dirait un bug. Vous pouvez contourner ce problème comme ceci :
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.Utilisez la commande TextFont pour spécifier le nom de la police et la rotation.
@Audrey_Shull - le graphique du bas est le SVG enregistré, ouvert dans un visualiseur externe, Firefox dans ce cas.
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 : Lorsque j'enregistre la figure au format SVG, la rotation du texte est perdue.Merci pour l'exemple @Craige_Hales - nous avons ouvert un ticket avec l'équipe de développement, mais c'est bien d'avoir également cette solution de contournement documentée.
Re : Lorsque j'enregistre la figure au format SVG, la rotation du texte est perdue.Merci!Je vais essayer plus tard dans la journée et je ferai un rapport.
-Erika.
Re : Lorsque j'enregistre la figure au format SVG, la rotation du texte est perdue.Salut Craige -
Ça marche!!!Le texte s'exporte parfaitement.
Merci merci merci!
-Erika.