Wenn ich die Figur als SVG speichere, geht die Textdrehung verloren.Hallo alle -
Ich verwende JMP Pro 16.1.0 und habe ein Problem, das mich wahnsinnig macht. Ich habe eine ziemlich komplexe Figur mit Tonnen von Daten.Ich muss einige Textbeschriftungen hinzufügen, damit ich verschiedene Zeiträume beschreiben kann. Der Text muss gedreht werden, damit er in den Raum passt und gut lesbar ist. Ich habe in einem Beitrag gelesen, dass Textanmerkungen nicht gegen den Uhrzeigersinn gedreht werden können, einfacher alter Text jedoch schon.Also habe ich meine Textbeschriftungen wie im folgenden Skript gezeigt hinzugefügt:

Wenn ich das Skript ausführe, ist die Figur PERFEKT.Es hat lange gedauert, bis wir an diesen Punkt gelangten.Ich bin super zufrieden damit in JMP, so sieht es aus:

Hier ist mein Problem: Wenn ich das Diagramm als SVG exportiere/speichere, geht die Textdrehung verloren, wie unten gezeigt:

Wenn ich als EMF-Datei exportiere, bleibt die Textrotation erhalten, ich möchte aber als SVG speichern. Irgendwelche Ideen, warum das passiert oder ob es mit dem Scripting zusammenhängt?Es macht mich wirklich wahnsinnig, ich habe STUNDEN mit diesen Diagrammsätzen verbracht und möchte nur, dass sich diese Beschriftungen drehen und eine schöne SVG-Datei entsteht.
Vielen Dank an alle für jeden Beitrag, den Sie leisten können.
Automatisierung und SkripterstellungDatenexploration und -visualisierungErgebnisse teilen und kommunizierenWindowsBetreff: Wenn ich die Figur als SVG speichere, geht die Textdrehung verloren.Sieht aus wie ein Bug. Sie können es folgendermaßen umgehen:
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.Verwenden Sie den Befehl TextFont, um den Namen und die Drehung der Schriftart anzugeben.
@Audrey_Shull - Das untere Diagramm ist das gespeicherte SVG, geöffnet in einem externen Viewer, in diesem Fall Firefox.
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" );
);
Betreff: Wenn ich die Figur als SVG speichere, geht die Textdrehung verloren.Danke für das Beispiel @Craige_Hales - Wir haben ein Ticket beim Entwicklerteam eröffnet, aber es ist schön, dass auch dieser Workaround dokumentiert ist.
Betreff: Wenn ich die Figur als SVG speichere, geht die Textdrehung verloren.Danke schön!Ich werde es heute noch mal ausprobieren und dann berichten.
-Erika.
Betreff: Wenn ich die Figur als SVG speichere, geht die Textdrehung verloren.Hallo Craige,
Es klappt!!!Der Text wird perfekt exportiert.
Danke danke danke!
-Erika.