Surface Plot
Example 1
Summary: Visualizes a surface plot of Net Costs using the Graph Builder function, specifying columns for the plot, locking Z scale, and defining a formula.
Code:
// Surface Plot
// Open data table
dt = Open("data_table.jmp");
// Surface Plot
Surface Plot(
Columns(
:GP Fit, :NL Fit,
:"log($ value)"n
),
Lock Z Scale( 1 ),
Shine Choice2( "Both sides" ),
Datapoints Choice3( "Points" ),
XRotate( -66.3468993855009 ),
YRotate( 0.547170416692303 ),
ZRotate( 40.7073204987852 ),
Formula( "GP Fit", "NL Fit" ),
Response(
"log($ value)", "log($ value)",
:"log($ value)"n
),
SetVariableAxis(
GP Fit,
Axis Data(
{Scale( "Linear" ),
Format( "Best" ), Min( -6 ),
Max( 1 ), Inc( 1 )}
)
),
SetVariableAxis(
NL Fit,
Axis Data(
{Scale( "Linear" ),
Format( "Best" ), Min( -6 ),
Max( 1 ), Inc( 1 )}
)
)
);
Code Explanation:
- Open data table.
- Create surface plot.
- Specify columns for plot.
- Lock Z scale.
- Set shine choice.
- Choose datapoint style.
- Rotate X-axis.
- Rotate Y-axis.
- Rotate Z-axis.
- Define formula for plot.
Example 2
Summary: Creates a surface plot to visualize the relationship between SILICA and SILANE, utilizing various color themes and axis formats.
Code:
dt = Open("data_table.jmp");
Surface Plot(
Columns( :Pred Formula ABRASION ),
Lock Z Scale( 1 ),
Scale response axes independently( 1 ),
Z Grid Position( 130 ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Formula( "Pred Formula ABRASION" ),
Equation( "", "", "", "" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :SILICA, Axis Data( {Format( "Custom", Formula( Round( Ln( value ), 2 ) ), 8 )} ) ),
SetVariableAxis( :SILANE, Axis Data( {Format( "Custom", Formula( Round( Log( value, 2 ), 2 ) ), 8 )} ) ),
SetZAxis( Pred Formula ABRASION, Current Value( 130 ), Axis Data( {Format( "Custom", Formula( Round( Log10( value ), 2 ) ), 8 )} ) ),
SetZAxis( z#2, Axis Data( {} ) ),
SetZAxis( z#3, Axis Data( {} ) ),
SetZAxis( z#4, Axis Data( {} ) ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
Iso Value( 0, 139.119238722664 ),
Frame3D( Set Rotation( -54, 0, 38 ) )
);
Code Explanation:
- Open data table.
- Create surface plot.
- Set columns for plot.
- Lock Z scale.
- Scale response axes independently.
- Set Z grid position.
- Define surface color themes.
- Define response column color themes.
- Set formula for prediction.
- Configure axis formats and rotations.
Example 3
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
Open("data_table.jmp");
Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
Code Explanation:
- Open data_table data
- Create surface plot.
- Include ABRASION column.
- Include MODULUS column.
- Include ELONG column.
- Include HARDNESS column.
Example 4
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with independent scaling of response axes.
Code:
Open("data_table.jmp");
Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Control Panel( 0 ),
Show Surface2( "Both sides" ),
Scale response axes independently( 1 )
);
Code Explanation:
- Open data table;
- Create surface plot.
- Set columns for plot.
- Disable control panel.
- Show both sides surface.
- Scale response axes independently.
Example 5
Summary: Creates two surface plots to visualize the relationship between ABRASION and SILICA, with SILANE as a secondary variable.
Code:
Open("data_table.jmp");
sp = Surface Plot(
Columns( :Pred Formula ABRASION ),
Formula( "Pred Formula ABRASION" ),
Surface Color Method( "MODULUS", "Solid", "Solid", "Solid" ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
);
sp = Surface Plot(
Columns( :Pred Formula ABRASION ),
Formula( "Pred Formula ABRASION" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
);
Code Explanation:
- Open data_table data
- Create surface plot.
- Set columns for surface.
- Define formula for surface.
- Apply color method MODULUS.
- Set X variable SILICA.
- Set Y variable SILANE.
- Create another surface plot.
- Set columns for surface.
- Define formula for surface.
Example 6
Summary: Creates two surface plots to visualize the relationship between ABRASION and SILICA, with optional color modulation based on MODULUS.
Code:
Open("data_table.jmp");
sp = Surface Plot(
Columns( :Pred Formula ABRASION ),
Formula( "Pred Formula ABRASION" ),
Surface Color Method( "MODULUS", "Solid", "Solid", "Solid" ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
);
sp = Surface Plot(
Columns( :Pred Formula ABRASION ),
Formula( "Pred Formula ABRASION" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
);
sp << Surface Color Method( "MODULUS", "Solid", "Solid", "Solid" );
Code Explanation:
- Open data table.
- Create surface plot.
- Set columns for surface plot.
- Define formula for surface plot.
- Apply surface color method.
- Set X variable.
- Set Y variable.
- Create another surface plot.
- Set columns for second surface plot.
- Define formula for second surface plot.
- Apply solid surface color method.
- Set X variable for second plot.
- Set Y variable for second plot.
- Modify surface color method of first plot.
Example 7
Summary: Creates a surface plot to visualize the relationships between ABRASION, MODULUS, ELONG, and HARDNESS using data from the 'data_table.jmp' file.
Code:
Open("data_table.jmp");
Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show formula( 0 ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Formula( "Pred Formula ABRASION", "Pred Formula MODULUS", "Pred Formula ELONG", "Pred Formula HARDNESS" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :SILICA, Axis Data( {Format( "Best", 8 ), Min( 0.2 ), Max( 2.2 ), Inc( 0.5 ), Minor Ticks( 1 )} ) ),
SetVariableAxis( :SILANE, Axis Data( {Format( "Best", 8 ), Min( 30 ), Max( 70 ), Inc( 5 ), Minor Ticks( 1 )} ) ),
SetZAxis( Pred Formula ABRASION, Current Value( 130 ) ),
SetXVariable( SILICA ),
SetYVariable( SILANE ),
Iso Value( 0, 139.119238722664 ),
Iso Value( 1, 1261.13313805186 ),
Iso Value( 2, 400.384575393762 ),
Iso Value( 3, 68.9096152062609 ),
Frame3D( Set Graph Size( 500, 480 ), Set Rotation( -54, 0, 38 ) ),
);
Code Explanation:
- Open data_table data
- Create surface plot.
- Define columns for plotting.
- Hide formula display.
- Set surface color themes.
- Set response column color themes.
- Define formula for prediction.
- Set solid color method for surfaces.
- Configure SILICA axis.
- Configure SILANE axis.
- Set Z-axis value for ABRASION.
- Set X-variable to SILICA.
- Set Y-variable to SILANE.
- Add iso values.
- Adjust 3D frame size and rotation.
Example 8
Summary: Creates a surface plot to visualize the relationship between SILICA and SILANE, with customizable color themes and axis settings.
Code:
Open("data_table.jmp");
Surface Plot(
Columns( :Pred Formula ABRASION ),
Lock Z Scale( 1 ),
Scale response axes independently( 1 ),
Z Grid Position( 130 ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Formula( "Pred Formula ABRASION" ),
Equation( "", "", "", "" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :SILICA, Axis Data( {Format( "Custom", Formula( Round( Ln( value ), 2 ) ), 8 )} ) ),
SetVariableAxis( :SILANE, Axis Data( {Format( "Custom", Formula( Round( Log( value, 2 ), 2 ) ), 8 )} ) ),
SetZAxis( Pred Formula ABRASION, Current Value( 130 ), Axis Data( {Format( "Custom", Formula( Round( Log10( value ), 2 ) ), 8 )} ) ),
SetZAxis( z#2, Axis Data( {} ) ),
SetZAxis( z#3, Axis Data( {} ) ),
SetZAxis( z#4, Axis Data( {} ) ),
SetXVariable( :SILICA ),
SetYVariable( :SILANE ),
Iso Value( 0, 139.119238722664 ),
Frame3D( Set Rotation( -54, 0, 38 ) )
);
Code Explanation:
- Open data table;
- Create surface plot.
- Set prediction formula column.
- Lock Z scale.
- Scale response axes independently.
- Set Z grid position.
- Define surface color themes.
- Define response column color themes.
- Set surface color method.
- Customize variable and Z axes.
Example 9
Summary: Creates a surface plot to visualize relationships between Pred Formula ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt under test = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Formula( "Pred Formula ABRASION", "Pred Formula MODULUS", "Pred Formula ELONG", "Pred Formula HARDNESS" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :SILICA, Axis Data( {Format( "Best", 8 ), Rotated Labels( "Horizontal" )} ) ),
SetVariableAxis( :SILANE, Axis Data( {Format( "Best", 8 ), Rotated Labels( "Horizontal" )} ) ),
SetZAxis(
Pred Formula ABRASION,
Current Value( 130 ),
Axis Data( {Format( "Best", 8 ), Min( 40 ), Max( 220 ), Inc( 20 ), Minor Ticks( 0 ), Rotated Labels( "Horizontal" )} )
),
SetXVariable( SILICA ),
SetYVariable( SILANE ),
Iso Value( 0, 139.119238722664 ),
Iso Value( 1, 1261.13313805186 ),
Iso Value( 2, 400.384575393762 ),
Iso Value( 3, 68.9096152062609 ),
Frame3D( Set Rotation( -54, 0, 38 ) )
);
Code Explanation:
- Open data table;
- Create surface plot object.
- Define columns for plotting.
- Set surface color themes.
- Set response column color themes.
- Define formula for prediction.
- Set surface color methods.
- Configure variable axes.
- Set Z-axis properties.
- Set X and Y variables.
- Add iso values.
- Rotate 3D frame.
Example 10
Summary: Creates a surface plot with four columns (ABRASION, MODULUS, ELONG, and HARDNESS) from an open data table using the Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
Code Explanation:
- Open data table;
- Create surface plot.
- Include columns: ABRASION.
- Include columns: MODULUS.
- Include columns: ELONG.
- Include columns: HARDNESS.
Example 11
Summary: Creates multiple slider boxes in new windows for testing purposes, utilizing the Surface Plot function to generate a 3D plot with four columns.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
sb = (Report( obj )[Slider Box( 2 )]);
sbflag = 1;
If( sbflag,
Close( dt, nosave )
);
sbvar = 0;
sb = "";
New Window( "Test Case 4", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 5", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 6", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 7", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 8", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 9", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
New Window( "Test Case 10", sb = Slider Box( -10, 10, sbvar, 0, set width( 200 ) ) );
If( sbflag,
sb << Close Window
);
sbvar = 0;
sb = "";
Code Explanation:
- Open data_table data
- Create surface plot with four columns.
- Access second slider box.
- Set flag for closing data table.
- Close data table if flag is set.
- Initialize slider variable.
- Clear slider object reference.
- Create new window for Test Case 4.
- Add slider box to window.
- Close window if flag is set.
Example 12
Summary: Creates a surface plot from a data table, utilizing columns for prediction and displaying interactive slider boxes.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
sb = (Report( obj )[Slider Box( 2 )]);
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for prediction.
- Access Report object.
- Select Slider Box element.
- Assign to sb variable.
Example 13
Summary: Creates a 3D surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface2( Both Sides )
);
obj << Frame3D( Legend( 1 ) );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify columns for plotting.
- Display both sides of surface.
- Convert to 3D frame.
- Add legend to frame.
- Generate report object.
Example 14
Summary: Creates a 3D surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface2( Both Sides )
);
obj << Frame3D( Legend( 1 ) );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Define columns for plotting.
- Show both sides of surface.
- Enable 3D frame on plot.
- Add legend to frame.
- Generate report from plot.
Example 15
Summary: Creates a surface plot from a data table, specifying columns for plotting and grid lines, and generates a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
X Grid( 1 ),
Y Grid( 1 ),
Z Grid( 1 )
);
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Specify columns for plotting.
- Set X grid lines.
- Set Y grid lines.
- Set Z grid lines.
- Generate report from plot.
Example 16
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface3( Above Only );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify columns for plotting.
- Display surface plot above only.
- Generate report from plot.
Example 17
Summary: Creates a surface plot from a data table, displaying both sides and generating a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface( Both Sides );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set surface display.
- Generate report.
Example 18
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface2( Both Sides );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Select four columns.
- Display both sides of surface.
- Generate report object.
Example 19
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface4( Both Sides );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify columns for plot.
- Display surface on both sides.
- Generate report from object.
Example 20
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS in a data table, with ABRASION as the response variable.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( :Pred Formula ABRASION );
obj << Clip Sheet( 1 );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set response variable.
- Enable clip sheet.
- Generate report.
Example 21
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula MODULUS", :Pred Formula MODULUS );
obj << Show Surface2( Both Sides );
obj << Clip Sheet2( 1 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set response variable "MODULUS".
- Show both sides of surface.
- Enable clipping for sheet 2.
- Generate report.
Example 22
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS in a data table, with interactive features for both sides surface viewing and clipping.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG );
obj << Show Surface3( Both sides );
obj << Clip Sheet3( 1 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Set response variable.
- Show both sides surface.
- Clip sheet 1.
- Generate report.
Example 23
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS in a data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS );
obj << Show Surface4( Both sides );
obj << Clip Sheet4( 1 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for surface plot.
- Define response variable.
- Display both sides of surface.
- Enable clipping sheet.
- Generate report object.
Example 24
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Mesh( X and Y );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot object.
- Set columns for plot.
- Display mesh on plot.
- Generate report object.
Example 25
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Mesh2( X );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Add prediction columns.
- Show X mesh.
- Generate report.
Example 26
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Mesh3( Y );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for plotting.
- Show mesh on plot.
- Generate report object.
Example 27
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS in a data table, with both sides displayed and mesh shown on X and Y axes.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface4( Both Sides );
obj << Show Mesh4( X and Y );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Display both sides.
- Show mesh on X and Y.
- Generate report.
Example 28
Summary: Creates a surface plot with contour lines from four columns in a data table, utilizing the Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Contour( On Surface );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Add four columns.
- Enable contour on surface.
- Generate report object.
Example 29
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Contour2( Above );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Specify prediction columns.
- Display contour lines above.
- Generate report object.
Example 30
Summary: Creates a 3D surface plot with contour display, using columns from a data table to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface3( Both Sides );
obj << Show Contour3( Below );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Set columns for plot.
- Display surface on both sides.
- Display contour below surface.
- Generate report object.
Example 31
Summary: Creates a surface plot with contour lines to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS in a data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface4( Both Sides );
obj << Show Contour4( On Surface );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Add columns to plot.
- Display both sides of surface.
- Show contour lines on surface.
- Generate report object.
Example 32
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Dependent Variables Density( 1 );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Set plot columns.
- Configure dependent variables density.
- Generate report object.
Example 33
Summary: Creates a surface plot to visualize three prediction columns (ABRASION, MODULUS, and ELONG) from a data table, with independent scaling of response axes.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface4( Both sides );
obj << Scale response axes independently( 1 );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Add prediction columns to plot.
- Display surface on both sides.
- Independently scale response axes.
- Generate report from plot.
Example 34
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( ":Pred Formula MODULUS", :Pred Formula MODULUS );
obj << Datapoints Choice2( Points );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set response column.
- Configure datapoints choice.
- Generate report object.
Example 35
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG );
obj << Datapoints Choice3( Mesh );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set response variable.
- Choose mesh data points.
- Generate report object.
Example 36
Summary: Creates a 3D surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS in a data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS );
obj << Datapoints Choice4( Surface );
obj << Frame3D( Set Rotation( -91.5268238026563, -9.26702369140455, 27.55249869042 ) );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Set response variable HARDNESS.
- Choose Surface for datapoints.
- Rotate 3D frame.
- Generate report object.
Example 37
Summary: Creates a surface plot to visualize three predicted formulas (ABRASION, MODULUS, and ELONG) from a data table, with both sides displayed for surfaces 2 and 4, and set to isosurface mode.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface 2( Both Sides );
obj << Show Surface 4( Both Sides );
obj << Mode( Isosurface );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Set columns for prediction.
- Display both sides of surface 2.
- Display both sides of surface 4.
- Set plot mode to Isosurface.
- Generate report from object.
Example 38
Summary: Creates a surface plot with multiple variables (ABRASION, MODULUS, ELONG, HARDNESS) from a data table, displaying both sides of Surfaces 2 and 4 in Density grid mode.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface 2( Both Sides );
obj << Show Surface 4( Both Sides );
obj << Mode( Density grid );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Add ABRASION column.
- Add MODULUS column.
- Add ELONG column.
- Add HARDNESS column.
- Display both sides of Surface 2.
- Display both sides of Surface 4.
- Set mode to Density grid.
- Generate report.
Example 39
Summary: Creates a surface plot with multiple columns (ABRASION, MODULUS, ELONG, HARDNESS) and generates a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface 2( Both Sides );
obj << Show Surface 4( Both Sides );
obj << Mode( Sheet, points );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Add ABRASION column.
- Add MODULUS column.
- Add ELONG column.
- Add HARDNESS column.
- Display both sides of Surface 2.
- Display both sides of Surface 4.
- Set mode to points.
- Generate report.
Example 40
Summary: Creates a surface plot from data table 'data_table.jmp' with X-axis rotation set to 30 degrees, generating a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << XRotate( 30 );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Set X-axis rotation to 30 degrees.
- Generate report from plot.
Example 41
Summary: Creates a surface plot from data table 'data_table.jmp' with Y-axis rotation, and generates a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << YRotate( 20 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set Y-axis rotation.
- Generate report.
Example 42
Summary: Creates a surface plot to visualize the relationship between Pred Formula ABRASION and other variables, with interactive features for rotation and report generation.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << ZRotate( 45 );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Rotate plot 45 degrees.
- Generate report.
Example 43
Summary: Creates a surface plot to visualize the relationship between Pred Formula ABRASION, utilizing Isosurface mode and a resolution of 7.356.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Mode( Isosurface );
obj << Resolution( 7.356 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set plot mode to Isosurface.
- Set resolution to 7.356.
- Generate report from plot.
Example 44
Summary: Creates a surface plot with a Z grid from a data table, specifying the Pred Formula ABRASION and positioning the Z grid at 0.733.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Z Grid( 1 );
obj << Z Grid Position( 0.733 );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot.
- Set Z grid to 1.
- Position Z grid at 0.733.
- Generate report.
Example 45
Summary: Creates a surface plot from a data table, using columns for Pred Formula ABRASION, MODULUS, ELONG, and HARDNESS, with adjustable transparency and report generation.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Mode( Isosurface );
obj << Surface Alpha( 0.25 );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set plot mode.
- Adjust surface transparency.
- Generate report.
Example 46
Summary: Creates a surface plot from a data table, using columns for Pred Formula ABRASION, MODULUS, ELONG, and HARDNESS, with adjustable alpha value and both sides visible.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Mode( Isosurface );
obj << Show Surface2( Both sides );
obj << Surface Alpha2( 0.3 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set columns for plot.
- Change mode to Isosurface.
- Show both sides of surface.
- Set surface alpha to 0.3.
- Generate report.
Example 47
Summary: Creates a surface plot from a data table, using columns for Pred Formula ABRASION, MODULUS, ELONG, and HARDNESS, with adjustable transparency and 3D visualization.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Mode( Isosurface );
obj << Show Surface3( Both sides );
obj << Surface Alpha3( 0.75 );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set mode to isosurface.
- Show both sides of surface.
- Set surface transparency.
- Generate report.
Example 48
Summary: Creates a surface plot from a data table, using the Surface Plot function to visualize three predictive formula columns: ABRASION, MODULUS, and ELONG.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Mode( Isosurface );
obj << Show Surface4( Both sides );
obj << Surface Alpha4( 0.90 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set plot mode to isosurface.
- Show surface on both sides.
- Set surface transparency to 0.90.
- Generate report from plot.
Example 49
Summary: Creates a surface plot with two response variables, Pred Formula ABRASION and Pred Formula MODULUS, using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ) );
obj << Response( "Pred Formula MODULUS", :Pred Formula MODULUS );
obj << Datapoints Choice2( Mesh );
obj << Data Points Color2( {0, 0, 255} );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set response variable.
- Choose mesh for datapoints.
- Set datapoints color to blue.
- Generate report from plot.
Example 50
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ) );
obj << Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG );
obj << Datapoints Choice3( Needles );
obj << Data Points Color3( {255, 0, 0} );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set response variable.
- Choose datapoints style.
- Set datapoints color.
- Generate report object.
Example 51
Summary: Creates a 3D surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS );
obj << Datapoints Choice4( Surface );
obj << Data Points Color4( {100, 0, 200} );
obj << Frame3D( Set Rotation( -79.3688859847019, -1.23001727812475, 27.7096879560307 ) );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set response variable.
- Choose data points style.
- Set data points color.
- Rotate 3D frame.
- Generate report.
Example 52
Summary: Creates a surface plot using the Surface Plot function to visualize the relationship between ABRASION, MODULUS, and ELONG variables in a data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Datapoints Choice3( Surface ) );
obj << Response( :Pred Formula ABRASION, "Pred Formula ELONG", :Pred Formula ELONG );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set response variables.
- Generate report.
Example 53
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Datapoints Choice2( Surface ) );
obj << Show Surface2( Both sides );
obj << Formula( :Pred Formula ABRASION, Pred Formula ELONG );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set surface plot options.
- Display both sides of surface.
- Define formula for prediction.
- Generate report from plot.
Example 54
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG, with an equation that combines SILANE and SILICA variables.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ) );
obj << Show Surface2( Both sides );
obj << Equation( ., ".7 * :SILANE + 5 * :SILICA" );
obj << Show Formula( 1 );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot.
- Display both sides.
- Set equation.
- Show formula.
- Generate report.
Example 55
Summary: Creates a surface plot to visualize ABRASION values, setting the Z axis current value to 130 and generating a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ), Z Grid( 1 ) );
obj << Set Z Axis( :Pred Formula ABRASION, Current Value( 130 ) );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set Z axis to "ABRASION".
- Set Z axis current value to 130.
- Generate report.
Example 56
Summary: Creates a surface plot to visualize the relationship between SULFUR and SILANE, with specific axis values set for each variable.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Set Variable Axis( :SULFUR, Current Value( 2.925 ) );
obj << Set Variable Axis( :SILANE, Axis Data( {Format( "Best", 8 )} ) );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set SULFUR axis value.
- Format SILANE axis data.
- Generate report.
Example 57
Summary: Creates a surface plot from data table 'data_table.jmp' by setting the X variable to 'SULFUR' and generating a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Set X Variable( :SULFUR );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot.
- Set X variable.
- Generate report.
Example 58
Summary: Creates a surface plot to visualize the relationship between Pred Formula ABRASION and SULFUR, generating a report for further analysis.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Set Y Variable( :SULFUR );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set Y variable to SULFUR.
- Generate report.
Example 59
Summary: Creates a surface plot with isosurface mode to visualize the relationship between SILANE and SULFUR, utilizing the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Mode( Isosurface ) );
obj << Set Y Variable( :SILANE );
obj << Set Y Variable( :SULFUR );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Set columns for plot.
- Change mode to Isosurface.
- Set Y variable SILANE.
- Set Y variable SULFUR.
- Generate report.
Example 60
Summary: Creates a surface plot to visualize the relationship between SILANE and SULFUR, utilizing the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Mode( Isosurface ) );
obj << Set Y Variable( :SILANE );
obj << Set Z Variable( :SULFUR );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Set X variables.
- Set Y variable.
- Set Z variable.
- Generate report.
Example 61
Summary: Creates a 3D surface plot to visualize the relationship between ABRASION and MODULUS, with customizable frame settings and background color.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both sides ) );
obj << Frame3D( Set Graph Size( 692, 671 ), Set Rotation( -54, 0, 38 ), Background Color( 255, 177, 125 ) );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify plot columns.
- Show both sides of surface.
- Configure 3D frame settings.
- Set graph size.
- Set rotation angles.
- Change background color.
- Generate report object.
- Assign report to variable.
Example 62
Summary: Creates a surface plot to visualize relationships between ABRASION and MODULUS, with an isosurface value set to 100.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ) );
obj << Mode( Isosurface );
obj << Iso Value( 1, 100 );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot.
- Set Columns for plot.
- Switch to Isosurface mode.
- Set Iso Value to 100.
- Generate report.
Example 63
Summary: Creates a surface plot to visualize ABRASION data, with mesh display on X and Y axes and blue color scheme.
Code:
Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Show Mesh( X and Y );
obj << Mesh Color( {0, 0, 255} );
Code Explanation:
- Open data_table data
- Create surface plot object.
- Set plot columns to ABRASION.
- Display mesh on X and Y.
- Set mesh color to blue.
Example 64
Summary: Creates a surface plot with mesh display for X and Y, utilizing the Surface Plot object in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ) );
obj << Mode( Isosurface );
obj << Show Mesh2( X and Y );
obj << Mesh Color2( {255, 0, 0} );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set plot mode to Isosurface.
- Enable mesh display for X and Y.
- Set mesh color to red.
Example 65
Summary: Creates a surface plot with mesh display, utilizing the Surface Plot function to visualize relationships between Pred Formula ABRASION, Pred Formula MODULUS, and Pred Formula ELONG.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ) );
obj << Mode( Isosurface );
obj << Show Mesh3( X and Y );
obj << Mesh Color3( {50, 0, 100} );
Code Explanation:
- Open data table;
- Create surface plot.
- Set plot mode to isosurface.
- Display mesh on X and Y axes.
- Set mesh color to purple.
Example 66
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using JMP's Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Mode( Isosurface );
obj << Show Mesh4( X and Y );
obj << Mesh Color4( {0, 250, 0} );
Code Explanation:
- Open data table;
- Create surface plot object.
- Set plot mode to Isosurface.
- Enable mesh display for X and Y.
- Set mesh color to green.
Example 67
Summary: Creates a surface plot to visualize Net Costs using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Surface Color Method( :Pred Formula ABRASION );
obj << Surface Lighting( Low Reflection );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set plot columns.
- Apply Surface Color Method.
- Adjust Surface Lighting.
Example 68
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with both sides shown and solid color method applied.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ) );
obj << Show Surface2( Both Sides );
obj << Surface Color Method( "Solid", :Pred Formula MODULUS );
obj << Surface Lighting2( Normal );
Code Explanation:
- Open data table.
- Create surface plot.
- Show both sides surface.
- Set surface color method.
- Apply normal lighting.
Example 69
Summary: Creates a 3D surface plot to visualize and analyze the relationships between ABRASION, MODULUS, ELONG, and HARDNESS using JMP's Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface3( Both Sides );
obj << Surface Color Method( "Solid", "Solid", :Pred Formula ELONG );
obj << Surface Lighting3( Low Reflection );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify plot columns.
- Display both sides of surface.
- Set surface color method.
- Use elong prediction formula for color.
- Apply low reflection lighting.
Example 70
Summary: Creates a 3D surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ) );
obj << Show Surface4( Both Sides );
obj << Surface Color Method( "Solid", "Solid", "Solid", :Pred Formula HARDNESS );
obj << Surface Lighting4( Normal );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for plot.
- Display surface on both sides.
- Apply solid color method.
- Use hardness for coloring.
- Enable normal lighting.
Example 71
Summary: Creates a surface plot with continuous gradients and solid color method based on MODULUS, using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( both sides ) );
obj << Surface Gradient Type( Continuous Gradients );
obj << Surface Color Method( "Solid", :Pred Formula MODULUS );
obj << Surface Color Theme2( Blue to Gray to Red );
Code Explanation:
- Open data table;
- Create surface plot.
- Set columns for prediction.
- Display surface on both sides.
- Use continuous gradients for surface.
- Set color method to solid.
- Color based on MODULUS.
- Apply blue to gray to red theme.
Example 72
Summary: Creates a surface plot with continuous gradients and color theme, using two prediction columns from an opened data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( both sides ) );
obj << Surface Gradient Type( Continuous Gradients );
obj << Surface Gradient Type2( Continuous Gradients );
obj << Surface Color Method( :Pred Formula ABRASION, :Pred Formula MODULUS );
obj << Surface Color Theme( Blue to Gray to Red );
Code Explanation:
- Open data_table data
- Create Surface Plot.
- Select two prediction columns.
- Display surface on both sides.
- Set gradient type to continuous.
- Set gradient type2 to continuous.
- Define color method for surfaces.
- Apply blue to gray to red color theme.
Example 73
Summary: Creates a surface plot to visualize Net Costs using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Surface Gradient Type( Continuous Gradients );
obj << Surface Color Method( :Pred Formula ABRASION );
obj << Surface Color Theme( Blue to Gray to Red );
Code Explanation:
- Open table.
- Create surface plot.
- Set gradient type.
- Set color method.
- Set color theme.
Example 74
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, utilizing continuous gradients for both sides of the surface.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both sides ) );
obj << Surface Color Theme( Blue to Gray to Red );
obj << Surface Gradient Type( Continuous Gradients );
obj << Surface Gradient Type2( Continuous Gradients );
obj << Surface Color Method( :Pred Formula ABRASION, :Pred Formula MODULUS, "Solid", "Solid" );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for prediction.
- Display both sides of surface.
- Apply blue to gray to red color theme.
- Use continuous gradients for surface.
- Use continuous gradients for second surface.
- Set color method for ABRASION.
- Set color method for MODULUS.
Example 75
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with continuous gradients and solid color scheme.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both sides ) );
obj << Surface Gradient Type2( Continuous Gradients );
obj << Surface Color Method( "Solid", :Pred Formula MODULUS );
obj << Surface Color Theme2( White to Black );
Code Explanation:
- Open table.
- Create surface plot.
- Set surface display.
- Define gradient type.
- Set color method.
- Apply color theme.
Example 76
Summary: Creates a 3D surface plot to visualize relationships between ABRASION, MODULUS, and ELONG using continuous gradients and solid color theme.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Show Surface3( Both Sides ) );
obj << Surface Gradient Type3( Continuous Gradients );
obj << Surface Color Method( "Solid", "Solid", :Pred Formula ELONG );
obj << Surface Color Theme3( Spectral );
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for plot.
- Display surface on both sides.
- Set gradient type to continuous.
- Define color method for surfaces.
- Use solid color theme.
- Apply Spectral color theme.
Example 77
Summary: Creates a surface plot with continuous gradients and solid colors, using hardness as the color variable, from the 'data_table.jmp' dataset.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both Sides )
);
obj << Surface Gradient Type4( Continuous Gradients );
obj << Surface Color Method( "Solid", "Solid", "Solid", :Pred Formula HARDNESS );
obj << Surface Color Theme4( Jet );
Code Explanation:
- Open data table;
- Create surface plot object.
- Specify columns for plotting.
- Show both sides of surface.
- Set gradient type to continuous.
- Define color method for surfaces.
- Use hardness for coloring.
- Apply jet color theme.
Example 78
Summary: Creates a surface plot to visualize Net Costs using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ) );
obj << Surface Gradient Type( Continuous Gradients );
obj << Surface Color Method( :Pred Formula ABRASION );
Code Explanation:
- Open data table;
- Create surface plot.
- Set gradient type.
- Apply color method.
Example 79
Summary: Creates a surface plot to visualize and analyze the relationship between ABRASION and MODULUS, with customizable gradient type and color method.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both sides ) );
obj << Surface Gradient Type2( Discrete Gradients );
obj << Surface Color Method( "Solid", :Pred Formula MODULUS );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set surface display options.
- Configure surface gradient type.
- Define surface color method.
- Generate report from object.
Example 80
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Show Surface3( Both Sides ) );
obj << Surface Gradient Type3( Solid );
obj << Surface Color Method( "Solid", "Solid", :Pred Formula ELONG );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set surface gradient type.
- Set surface color method.
- Generate report object.
Example 81
Summary: Creates a surface plot with discrete gradients and color method based on hardness, using data from an open JMP data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both Sides )
);
obj << Surface Gradient Type4( Discrete Gradients );
obj << Surface Color Method( "Solid", "Solid", "Solid", :Pred Formula HARDNESS );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Specify columns for plotting.
- Display both sides of surface.
- Set gradient type to discrete.
- Assign color method based on hardness.
- Generate report from plot.
Example 82
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface( Both Sides )
);
obj << Surface Color Method( :Pred Formula ABRASION );
obj << Surface Color Range( Axis );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for surface plot.
- Display both sides of surface.
- Set color method for surface.
- Use axis for color range.
- Generate report from surface plot.
Example 83
Summary: Creates a surface plot with three columns (Pred Formula ABRASION, Pred Formula MODULUS, and Pred Formula ELONG) to visualize relationships between variables, utilizing a solid color method based on the MODULUS column.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface2( Both Sides )
);
obj << Surface Color Method( "Solid", :Pred Formula MODULUS );
obj << Surface Color Range2( Data );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Specify columns for plot.
- Show surface on both sides.
- Set surface color method to solid.
- Use MODULUS column for coloring.
- Define color range based on data.
- Generate report from plot.
Example 84
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface3( Both Sides )
);
obj << Surface Color Method( "Solid", "Solid", :Pred Formula ELONG );
obj << Surface Color Range3( Axis );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot.
- Add columns to plot.
- Show both sides of surface.
- Set color method to solid.
- Use elongation for coloring.
- Set color range by axis.
- Generate report object.
Example 85
Summary: Creates a surface plot with color based on hardness, using data from a specified table and generating a report.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both Sides )
);
obj << Surface Color Method( "Solid", "Solid", "Solid", :Pred Formula HARDNESS );
obj << Surface Color Range4( Data );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Define columns for plotting.
- Show both sides of surface.
- Set color method to solid.
- Use hardness for coloring.
- Set color range based on data.
- Generate report from object.
Example 86
Summary: Creates a surface plot to visualize Net Costs using the Graph Builder function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ), Show Surface( Both Sides ) );
obj << Surface Color( {0, 0, 255} );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot object.
- Set surface plot columns.
- Display both sides of surface.
- Change surface color to blue.
- Generate report object.
Example 87
Summary: Creates a surface plot with color to visualize and analyze data from 'data_table.jmp', utilizing the Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both Sides ) );
obj << Surface Color2( {255, 128, 0} );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set surface color.
- Generate report.
Example 88
Summary: Creates a surface plot to visualize three predictive formula columns (ABRASION, MODULUS, and ELONG) from a data table, with red color scheme.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Show Surface3( Both Sides ) );
obj << Surface Color3( {255, 0, 0} );
rpt = obj << report;
Code Explanation:
- Open data_table data
- Create Surface Plot object.
- Set plot columns.
- Show both sides surface.
- Set surface color red.
- Generate report object.
Example 89
Summary: Creates a surface plot with color, using columns from a data table to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both Sides )
);
obj << Surface Color4( {100, 0, 200} );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot object.
- Specify columns for plotting.
- Display both sides of surface.
- Set surface color.
- Generate report object.
Example 90
Summary: Creates a surface plot with contour lines to visualize Net Costs, utilizing the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ), Show Contour( On Surface ) );
obj << Surface Color Method( :Pred Formula ABRASION );
obj << Contour Color( {255, 128, 0} );
Code Explanation:
- Open data table;
- Create surface plot.
- Set contour on surface.
- Change surface color method.
- Set contour color.
Example 91
Summary: Creates a surface plot with contour lines to visualize the relationship between ABRASION and MODULUS, using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ), Show Surface2( Both Sides ) );
obj << Show Contour2( On Surface );
obj << Contour Color2( {255, 128, 0} );
Code Explanation:
- Open table.
- Create surface plot.
- Display both sides.
- Enable contour on surface.
- Set contour color.
Example 92
Summary: Creates a surface plot with contour lines to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ), Show Surface3( Both Sides ) );
obj << Show Contour3( On Surface );
obj << Contour Color3( {255, 0, 0} );
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for prediction formulas.
- Display both sides of surface.
- Enable contour on surface.
- Set contour color to red.
Example 93
Summary: Creates a surface plot with contour lines to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS in a data table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both Sides )
);
obj << Show Contour4( On Surface );
obj << Contour Color4( {100, 0, 200} );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Select columns for plot.
- Display both sides of surface.
- Show contour on surface.
- Set contour color.
- Generate report.
Example 94
Summary: Creates a surface plot with discrete gradients to visualize and analyze the ABRASION data, utilizing the Surface Plot function.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot( Columns( :Pred Formula ABRASION ), Surface Color Method( :Pred Formula ABRASION ) );
obj << Surface Gradient Type( Discrete Gradients );
obj << Surface Gradients( 9 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set surface color method.
- Configure discrete gradients.
- Set gradient count to 9.
- Generate report object.
Example 95
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with discrete gradients and solid color based on MODULUS.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Show Surface2( Both sides ),
Surface Color Method( "Solid", :Pred Formula MODULUS )
);
obj << Surface Gradient Type2( Discrete Gradients );
obj << Surface Gradients2( 8 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for prediction.
- Display both sides of surface.
- Use modulus for surface color.
- Set gradient type to discrete.
- Define 8 surface gradients.
- Generate report from plot.
Example 96
Summary: Creates a surface plot to visualize the relationships between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ),
Show Surface3( Both sides ),
Surface Color Method( "Solid", "Solid", :Pred Formula ELONG )
);
obj << Surface Gradient Type3( Discrete Gradients );
obj << Surface Gradients3( 10 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Define columns for prediction.
- Display both sides of surface.
- Set surface color method.
- Apply discrete gradients to surface.
- Specify number of gradients.
- Generate report from object.
Example 97
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Show Surface4( Both sides ),
Surface Color Method( "Solid", "Solid", "Solid", :Pred Formula HARDNESS )
);
obj << Surface Gradient Type4( Discrete Gradients );
obj << Surface Gradients4( 9 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for plot.
- Display both sides of surface.
- Set color method for surfaces.
- Set gradient type to discrete.
- Set number of gradients to 9.
- Generate report from plot.
Example 98
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with continuous gradient fill applied.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Equation( ., ., ., . ),
Datapoints Choice2( Surface ),
Response( "Pred Formula MODULUS", :Pred Formula MODULUS )
);
obj << Response Column Fill2( Continuous Gradients );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for plot.
- Define equation parameters.
- Choose surface datapoints.
- Set response column.
- Apply continuous gradient fill.
- Generate report.
Example 99
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ),
Equation( ., ., ., . ),
Datapoints Choice3( Surface ),
Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG )
);
obj << Response Column Fill3( Discrete Gradients );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set plot columns.
- Define equation parameters.
- Choose datapoint display.
- Set response column.
- Apply discrete gradient fill.
- Generate report.
Example 100
Summary: Creates a surface plot to visualize and analyze the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Equation( ., ., ., . ),
Datapoints Choice4( Surface ),
Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS )
);
obj << Response Column Fill4( Continuous Gradients );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for prediction formulas.
- Initialize equation parameters.
- Choose surface datapoint style.
- Set response column for hardness.
- Apply continuous gradient fill.
- Generate report from plot.
Example 101
Summary: Creates a surface plot to visualize and analyze the relationship between ABRASION and MODULUS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Equation( ., ., ., . ),
Datapoints Choice2( Surface ),
Response Column Fill2( Discrete Gradients ),
Response( "Pred Formula MODULUS", :Pred Formula MODULUS )
);
obj << Response Column Gradient Lines2( 1 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Specify columns for plotting.
- Set equation parameters.
- Choose surface datapoints.
- Set response column fill.
- Define response column.
- Add gradient lines to response.
- Generate report from object.
- Assign report to variable.
Example 102
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ),
Equation( ., ., ., . ),
Datapoints Choice3( Surface ),
Response Column Fill3( Discrete Gradients ),
Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG )
);
obj << Response Column Gradient Lines3( 1 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Set columns for plotting.
- Define equation parameters.
- Choose surface datapoints.
- Fill response column gradients.
- Set response column properties.
- Enable gradient lines on response.
- Generate report from plot.
- Assign report to variable.
Example 103
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Equation( ., ., ., . ),
Datapoints Choice4( Surface ),
Response Column Fill4( Discrete Gradients ),
Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS )
);
obj << Response Column Gradient Lines4( 1 );
rpt = obj << report;
Code Explanation:
- Open table.
- Create surface plot.
- Set columns for plot.
- Define equation.
- Choose datapoint style.
- Set response column fill.
- Set response.
- Add gradient lines.
- Generate report.
Example 104
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Equation( ., ., ., . ),
Datapoints Choice2( Surface ),
Response Column Fill2( Discrete Gradients ),
Response( "Pred Formula MODULUS", :Pred Formula MODULUS )
);
obj << Response Column Gradients2( 8 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot.
- Set columns for plot.
- Define equation parameters.
- Choose surface datapoints.
- Set response column fill.
- Specify response variable.
- Adjust response gradients.
- Generate report object.
- Assign report to variable.
Example 105
Summary: Creates a surface plot to visualize the relationship between Abrasion, Modulus, and Elongation using data from a specified table.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ),
Equation( ., ., ., . ),
Datapoints Choice3( Surface ),
Response Column Fill3( Discrete Gradients ),
Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG )
);
obj << Response Column Gradients3( 7 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set columns for prediction formulas.
- Initialize equation parameters.
- Choose surface plot data points.
- Fill response column with gradients.
- Set response column for elongation.
- Configure response column gradients.
- Generate report from plot.
- Assign report to variable.
Example 106
Summary: Creates a surface plot to visualize relationships between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Equation( ., ., ., . ),
Datapoints Choice4( Surface ),
Response Column Fill4( Discrete Gradients ),
Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS )
);
obj << Response Column Gradients4( 10 );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create surface plot object.
- Define columns for plotting.
- Set equation parameters.
- Choose surface datapoints.
- Fill response column gradients.
- Set response column.
- Adjust response gradients.
- Generate report object.
Example 107
Summary: Creates a surface plot to visualize the relationship between ABRASION and MODULUS, with continuous gradients for response and white-to-black color theme.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS ),
Equation( ., ., ., . ),
Datapoints Choice2( Surface ),
Response Column Fill2( Continuous Gradients ),
Response( "Pred Formula MODULUS", :Pred Formula MODULUS )
);
obj << Response Column Color Theme2( White to Black );
rpt = obj << report;
Code Explanation:
- Open data table;
- Create Surface Plot object.
- Set X columns: ABRASION, MODULUS.
- Initialize Equation parameters.
- Choose Surface for Datapoints.
- Set Continuous Gradients for Response.
- Define Response: MODULUS.
- Apply White to Black color theme.
- Generate report object.
- Assign report to rpt variable.
Example 108
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, and ELONG using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG ),
Equation( ., ., ., . ),
Datapoints Choice3( Surface ),
Response Column Fill3( Continuous Gradients ),
Response( "Pred Formula ELONG", "Pred Formula ELONG", :Pred Formula ELONG )
);
obj << Response Column Color Theme3( Blue to Gray to Red );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create a Surface Plot object.
- Specify columns for plotting.
- Set equation parameters.
- Choose surface datapoint style.
- Select response column fill theme.
- Define response variable.
- Set response column color theme.
- Generate plot report.
- Assign report to rpt variable.
Example 109
Summary: Creates a surface plot to visualize the relationship between ABRASION, MODULUS, ELONG, and HARDNESS using the Surface Plot function in JMP.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Equation( ., ., ., . ),
Datapoints Choice4( Surface ),
Response Column Fill4( Continuous Gradients ),
Response( "Pred Formula HARDNESS", "Pred Formula HARDNESS", "Pred Formula HARDNESS", :Pred Formula HARDNESS )
);
obj << Response Column Color Theme4( White to Red );
rpt = obj << report;
Code Explanation:
- Open data table.
- Create surface plot object.
- Specify columns for plotting.
- Set equation parameters.
- Choose datapoints display method.
- Select response column fill.
- Define response column.
- Set response color theme.
- Generate report object.
Example 110
Summary: Creates a surface plot to visualize and compare GP Fit and NL Fit values, with interactive features for rotation and axis scaling.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :GP Fit, :NL Fit, :Name( "log($ value)" ) ),
Lock Z Scale( 1 ),
Shine Choice2( Both sides ),
Datapoints Choice3( Points ),
XRotate( -66.3468993855009 ),
YRotate( 0.547170416692303 ),
ZRotate( 40.7073204987852 ),
Formula( "GP Fit", "NL Fit" ),
Response( "log($ value)", "log($ value)", :Name( "log($ value)" ) ),
SetVariableAxis( GP Fit, Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} ) ),
SetVariableAxis( NL Fit, Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} ) )
);
Code Explanation:
- Open data table.
- Create surface plot object.
- Specify columns for plotting.
- Lock Z scale.
- Set shine choice.
- Set datapoint choice.
- Rotate X axis.
- Rotate Y axis.
- Rotate Z axis.
- Define formula and response.
Example 111
Summary: Creates a surface plot to visualize and compare GP Fit and NL Fit values, with interactive features for data points and axis rotation.
Code:
dt = Open("data_table.jmp");
obj = Surface Plot(
Columns( :GP Fit, :NL Fit, :Name( "log($ value)" ) ),
Lock Z Scale( 1 ),
Shine Choice2( Both sides ),
Datapoints Choice3( Points ),
XRotate( -66.3468993855009 ),
YRotate( 0.547170416692303 ),
ZRotate( 40.7073204987852 ),
Formula( :GP Fit, :NL Fit ),
Response( Empty(), Empty(), :Name( "log($ value)" ) ),
SetVariableAxis( :GP Fit, Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} ) ),
SetVariableAxis( :NL Fit, Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} ) )
);
Code Explanation:
- Open data table.
- Create surface plot.
- Select columns for plotting.
- Lock Z scale.
- Set shine option.
- Display data points.
- Rotate X axis.
- Rotate Y axis.
- Rotate Z axis.
- Define formula and response.
Surface Plot using Eval
Summary: Creates a surface plot from a data table, specifying columns for plotting and customizing visual settings.
Code:
dt = Open("data_table.jmp");
obj = Eval(
Eval Expr(
dt << Surface Plot(
Columns( :GP Fit, :NL Fit, :Name( "log($ value)" ) ),
Lock Z Scale( 1 ),
Shine Choice2( Both sides ),
Datapoints Choice3( Points ),
XRotate( -66.3468993855009 ),
YRotate( 0.547170416692303 ),
ZRotate( 40.7073204987852 ),
Formula( Expr( :GP Fit << Get Name ), Expr( :NL Fit << Get Name ) ),
Response( Expr( :Name( "log($ value)" ) << Get Name ), Expr( :Name( "log($
value)" ) << Get Name ), :Name( "log($ value)" ) ),
SetVariableAxis(
Expr(
As Name( :GP Fit << Get Name )
),
Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} )
),
SetVariableAxis(
Expr(
As Name( :NL Fit << Get Name )
),
Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} )
)
)
)
);
Code Explanation:
- Open data table.
- Create surface plot object.
- Specify columns for plotting.
- Lock Z scale.
- Set shine choice.
- Set datapoints choice.
- Rotate X axis.
- Rotate Y axis.
- Rotate Z axis.
- Define formula for plot.
Surface Plot using Name
Summary: Creates a surface plot with three columns: GP Fit, NL Fit, and log($ value), using JMP's Graph Builder platform.
Code:
dt = Open("data_table.jmp");
log dollar value name = :Name( "log($ value)" ) << Get Name;
gp fit name = :GP Fit << Get Name;
nl fit name = :NL Fit << Get Name;
obj = Eval(
Eval Expr(
dt << Surface Plot(
Columns( :GP Fit, :NL Fit, :Name( "log($ value)" ) ),
Lock Z Scale( 1 ),
Shine Choice2( Both sides ),
Datapoints Choice3( Points ),
XRotate( -66.3468993855009 ),
YRotate( 0.547170416692303 ),
ZRotate( 40.7073204987852 ),
Formula( Expr( gp fit name ), Expr( nl fit name ) ),
Response( Expr( log dollar value name ), Expr( log dollar value name ), Expr( As Name( log dollar value name ) ) ),
SetVariableAxis(
Expr( As Name( gp fit name ) ),
Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} )
),
SetVariableAxis(
Expr( As Name( nl fit name ) ),
Axis Data( {Scale( Linear ), Format( "Best" ), Min( -6 ), Max( 1 ), Inc( 1 )} )
)
)
)
);
Code Explanation:
- Open data table.
- Retrieve column names.
- Create surface plot object.
- Specify columns for plotting.
- Lock Z scale.
- Set shine choice.
- Display data points.
- Rotate plot axes.
- Define formula expressions.
- Set response and variable axes.