嗨,
在JMP13中可以帮助我绘图吗?我有一个y轴变量,并希望在2016年和2017年覆盖y轴(我有日期格式的数据)
假设您在一列中拥有2016年和2017年的数据。您可以使用叠加选项本身。数据:罗利
Graph Builder(
Variables( X( :Month ), Y( :Temperature ), Overlay( :Name( "Month/Year" ) ) ),
Elements( Points( X, Y, Legend( 24 ) ), Smoother( X, Y, Legend( 25 ) ) ),<BR />)
假设,如果您有两个不同列中的数据。选择Y轴上的拖放年份。右键单击Y轴并选择其中任何一个以切换到辅助轴。示例如下所示,数据胆固醇
Graph Builder(
Size( 1554, 1048 ),
Variables(
X( :treatment ),
Y( :April AM, Side( "Right" ) ),
Y( :April PM, Position( 1 ) )
),
Elements( Points( X, Y( 2 ), Legend( 9 ) ), Points( X, Y( 1 ), Legend( 10 ) ) )
)
XanGregg 说,“辅助轴的特征并不突出,因为它不是数据可视化的最佳实践。看到 http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf for 一个完整的讨论“。
// Use Raleigh Temps.jmp for sample data .
Graph Builder(
Variables(
X( :Name( "Month/Year" ) ),
Y( :Temperature ),
Y( :Predicted Temperature, Position( 1 ) )
),
Elements( Smoother( X, Y( 1 ), Y( 2 ), Legend( 8 ) ) )
)