안녕!
현재 JMP 버전 17의 Graph Builder에서 축 선 색상을 변경하려고 합니다. 본질적으로 Y 및 X 축의 선을 검은색으로 변경하고 그룹 X 축의 선을 빨간색으로 변경하고 싶습니다.
그래프 프레임을 검은색으로 만들어 Y축과 X축을 검은색으로 만들었지만 가장 바깥쪽 오른쪽 라인과 위쪽 라인도 검은색으로 만들고 싶지 않습니다. 마우스 오른쪽 버튼으로 클릭해도 그룹 X 축 설정을 찾을 수 없는 것 같습니다.
내가 의미하는 축을 나타내는 화살표와 함께 powerpoint에 사실 이후에 추가한 일종의 목업 라인을 첨부했습니다.
도움을 주시면 감사하겠습니다.

미리 감사드립니다!
여기에 한 가지 방법이 있지만 더 나은 방법이 있을 수 있습니다.
- 그룹 사이의 빨간색 선은 X축 설정에서 기준선으로 추가할 수 있습니다. 약간의 실험으로 1.485라는 숫자를 찾았습니다. 1.5가 자연스러운 경계선이었을 거라 생각하는데 그 시점에서 선이 나타나지 않아서 경계선 바로 앞입니다. 다른 수의 범주로 이를 조정해야 할 수도 있습니다.
- 선 도구를 사용하여 Y축에 검은색 선을 그린 다음 스크립트 창에 그래프를 보내고 x,y 좌표가 잘 정렬되었는지 확인하여 약간의 속임수를 썼습니다.
내가 한 일을 재현하는 스크립트가 있습니다.
/*JMP STATISTICAL DISCOVERY LLC (“JMP”) PERMITS THE USE OF THIS COMPUTER SOFTWARE CODE (“CODE”) ON AN AS-IS BASIS AND AUTHORIZES YOU TO USE THE CODE SUBJECT TO THE TERMS LISTED HEREIN. BY USING THE CODE, YOU AGREE TO THESE TERMS. YOUR USE OF THE CODE IS AT YOUR OWN RISK. JMP MAKES NO REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRIGEMENT, AND TITLE, WITH RESPECT TO THE CODE.
You may use the Code solely as part of a software product you currently have licensed from JMP, JMP’s parent company SAS Institute Inc. (“SAS”), or one of JMP’s or SAS’s subsidiaries or authorized agents (the “Software”), and not for any other purpose. The Code is designed to add functionality to the Software but has not necessarily been tested. Accordingly, JMP makes no representation or warranty that the Code will operate error-free. JMP is under no obligation to maintain, support, or continue to distribute the Code.
Neither JMP nor its licensors shall be liable to you or any third-party for any general, special, direct, indirect, consequential, incidental, or other damages whatsoever arising out of or related to your use or inability to use the Code, even if JMP has been advised of the possibility of such damages. Except as otherwise provided above, the Code is governed by the same agreement that governs the Software. If you do not have an existing agreement with JMP or SAS governing the Software, you may not use the Code.
JMP and all other JMP Statistical Discovery LLC product or service names are registered trademarks or trademarks of JMP Statistical Discovery LLC in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.
*/
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt << Graph Builder(
Size( 633, 672 ),
Show Control Panel( 0 ),
Variables( X( :sex ), Group X( :age ) ),
Elements( Bar( X, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"sex",
ScaleBox,
{Add Ref Line( 1.485, "Solid", "Red", "", 1 ),
Label Row( Tick Mark Style( "Automatic" ) )}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
Add Line Annotation( Line( {1, 0}, {1, 565} ), Color( "Black" ) )
)
)
);
안녕 제드,
도움을 주셔서 감사합니다. 참조선이 완벽하게 작동했습니다! 또한 그래프에 대한 기본 설정 창에서 프레임 색상을 검은색으로 설정했지만 그래프 프레임을 꺼서(상자 선택 해제) y축과 x축만 검은색으로 만들었습니다(직관적이지는 않지만 작동함).
건배!
GroupX 영역 색상에 대한 JSL 옵션: 그리드 색상().
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt << Graph Builder(
Show Control Panel( 0 ),
Grid Color( "Red" ),
Graph Spacing( 4 ),
Variables( X( :sex ), Group X( :age ) ),
Elements( Bar( X, Legend( 6 ) ) )
)
