Sto provando a eseguire il codice R in JMP per creare un grafico.Sono riuscito a importare il grafico in formato png, ma non sono riuscito a modificarne le dimensioni.
Posso adattare "plot_from_R" in formato png con il valore set size(); funzione in jsl, ma non è proporzionale e distorta.
Come posso importare plot_from_R nella dimensione desiderata?
R Init();
R Submit(
"\[
windows(300,100) #it doesn't work
plot(function(x) dnorm(x), -5, 5, main = "Normal(0,1) Density")
]\"
);
plot_from_R = R Get Graphics("png");
plot_from_R << set size({600, 200}); //it works but the plot is distorted (out of proportion)
New Window("plot_from_R", plot_from_R);
R Term();