Bonjour, il y a quelques articles similaires mais je n'ai pas trouvé exactement ce que je cherche.
J'ai réalisé des tracés d'alpha-diversité de deux indices différents et je souhaite les présenter côte à côte (ce sont des échelles différentes)
utiliser deux axes Y, par exemple droite et gauche, prête à confusion.
Je veux donc créer deux graphiques distincts et les afficher simplement côte à côte.
voici la sortie du package phyloseq dans R.

J'ai également les données sous forme de tableau et je souhaite recréer les tracés dans JMP. Des idées?
Merci, Ezra
Et si vous voulez simplement « pointer et cliquer », vous pouvez vous en rapprocher en configurant les graphiques comme vous le souhaitez « à la main », puis en utilisant « Fenêtre > Combiner les fenêtres... » :

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>
Créez les graphiques de manière interactive dans le générateur de graphiques, puis enregistrez le script et créez une nouvelle fenêtre autour de celui-ci.