Hi Everyone,
Inexperienced JSL scripter here. Apologies if this is a trivial question, but I was wondering if there was a way to insert into a variable the scatterplot 3D command for a particular rotation angle (predetermined by the user's rotation of the 3D graph generated by doing scatterplot 3D manually) from within a JSL script. For example,
sp = Scatterplot 3D(
Y( :age, :height, :weight ),
Frame3D( Set Grab Handles( 0 ), Set Rotation( -54, 0, 38 ) )
);
, but the idea is to be able to do this without manually copy-pasting the rotation values into the code, as I'm trying to automate a process that requires as input the rotation values from an already-generated Scatterplot. The end goal is to have a script that takes the predetermined rotation values as input and interfaces with an R script (already written) to generate a 2D plot from the 3D scatterplot.This would allow me to circumnavigate the inconvenience of working with the Mac clipboard.
Any help is appreciated, thank you.