Hallo, es gibt ein paar ähnliche Beiträge, aber ich habe nicht genau das gefunden, wonach ich suche.
Ich habe Alpha-Diversity-Diagramme von zwei verschiedenen Indizes erstellt und möchte sie nebeneinander darstellen (es handelt sich um verschiedene Skalen).
Die Verwendung von zwei Y-Achsen, z. B. rechts und links, ist verwirrend.
Ich möchte also zwei separate Diagramme erstellen und sie einfach nebeneinander anzeigen.
Hier wird aus dem Phyloseq-Paket in R ausgegeben.

Ich habe die Daten auch als Tabelle und möchte die Diagramme in JMP neu erstellen. Irgendwelche Ideen?
Danke, Ezra
dt = Open( "$sample_data/big class.jmp" );
New Window( "two graphs",
V List Box(
H List Box(
dt << Graph Builder(
Size( 512, 442 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ), Y( :height ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "" ), Image Export Display( Normal )} ),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "age", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "height", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Height" )} ),
Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 32 )} )
)
);
// identical but for height...weight in three places
dt << Graph Builder(
Size( 512, 442 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "" ), Image Export Display( Normal )} ),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "age", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "weight", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Weight" )} ),
Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 32 )} )
)
);
),
H Center Box( Text Box( "two graphs", <<SETFONTSIZE></SETFONTSIZE>
Und wenn Sie nur "Zeigen und Klicken" möchten, können Sie die Diagramme so erstellen, wie Sie es "von Hand" möchten, und dann "Fenster> Fenster kombinieren ..." verwenden:
