데이터가 없지만 윤곽선을 보려면 JMP에서이 repsonse 함수 y = 72.0 + 3.6x1 - 2.5x2를 플롯해야합니다. 어떻게해야합니까? 감사.
Jim은 JMP가 어떻게 함수를 그릴 수 있는지 설명했습니다. 그래프 빌더 및 다양한 프로파일 러와 함께 작동합니다. 많은 사용자가이 기능이 있음을 인식하지 못합니다. 아니면 그들은 그것을 잊어 버렸을 것입니다.
그러나 짐 (Jim)은 기능을 계획하기 위해 많은 행과 코드가 필요합니다. 우리는 데이터가 필요하지 않습니다. 플롯 범위를 정의하기 위해 x와 y 값이 필요합니다. 이것은해야합니다 :
Names Default To Here( 1 );
dt = New Table( "Function Plot",
New Column( "y",
Formula( 72.0 + 3.6 * :x1 - 2.5 * :x2 )
),
New Column( "x1", Values( [-1, -1, 1, 1] ) ),
New Column( "x2", Values( [-1, 1, -1, 1] ) )
);
Surface Plot( Columns( :y, :x1, :x2 ), Formula( "y" ), );
이게 니가 찾고있는거야?

Names Default To Here( 1 );
dt = New Table( "function", New Column( "y" ), New Column( "x1" ), New Column( "x2" ) );
For( i = 1, i <= 100, i++,
dt << add rows( 1 );
:x1[N Rows( dt )] = i;
:x2[N Rows( dt )] = i ^ 2;
);
dt:y << set formula( 72.0 + 3.6 * :x1 - 2.5 * :x1 ^ 2 );
Surface Plot(
Columns( :y, :x1, :x2 ),
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( "y" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :x1, Axis Data( {} ) ),
SetVariableAxis( :x2, Axis Data( {} ) ),
SetZAxis( y, Current Value( 100 ), Axis Data( {} ) ),
SetXVariable( :x1 ),
SetYVariable( :x2 ),
Iso Value( 0, 127.5 ),
Frame3D( Set Rotation( -58.1704596660756, 1.29965884086262, 60.3238676208627 ) )
);