Input multiple spec to contour plot using JSLHello everyone.
I am studying JSL to making contour plot easily.
But I have a problem about 'specify contours()' function.
When I run this code, the spec is fixed one.
Could you please give me help?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
win = New Window( "Select Item(s)",
<<MODAL></MODAL>
Thank you.
AnalyticsData TableGraphicsScriptingRe: Input multiple spec to contour plot using JSLLooks like you need to spend a little time with 'Help > Books > Scripting Guide', or one of many other resources that will help you get more familiar with JSL.
It seems as if you want to allow the user to select one (and only one) variable for the 'Y' role in the Contour Plot platform. If that's so, please look at these slight changes to your code above:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
win = New Window( "Select Item(s)",
<<MODAL></MODAL>
Re: Input multiple spec to contour plot using JSLAbove of all,
Thank you for your reply.
I knew that can be worked but I want to select multiple items.
I will study JSL more and try to change code form for convenience.
Thank you again.
Re: Input multiple spec to contour plot using JSLSo I think I mis-understood what you wanted. The Contour Plot platform does allow multiple Ys, and if you wanted, say, at least two Ys, you can (more or less) return to your original code (see below). But in this case, the same set of contour values will be applied to every Y the user defines.
If you want to allow each Y to have its own contour values I assume you would need to update your UI. You could then launch the platform separately for each Y, and put all the reports in a single window. This is probably not a good first project if you are new to JSL though.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
win = New Window( "Select Item(s)",
<<MODAL></MODAL>
Re: Input multiple spec to contour plot using JSLThanks to you I can get a hint. I appreciate it.
I changed the code slightly.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
win = New Window( "Select Item(s)",
<<MODAL></MODAL>
It is not perfect.
but I will use this code for a while and try to update it continuously.
Thank you very much.