Hola a todos,
Quiero usar Graph Builder para crear un gráfico como este (copiado del informe de comparación gratuito del modelo de disolución de curva de ajuste)

No logro hacer esto en el generador de gráficos. ¿Alguna sugerencia?
El gráfico debe mostrar cada curva (especificada como CurveID en la tabla de datos).
El gráfico debe mostrar la curva promedio por grupo (Grupo de curva).
Las barras de error no son necesarias, pero sería bueno tenerlas.
Llevándolo un paso más allá y manipulando los colores y las transparencias de los gráficos:

usando JMP 18.1.2 y aquí está el script para recrear
Graph Builder(
Size( 929, 685 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables(
X( :X ),
Y( :Y ),
Group X( :Curve Group ),
Overlay( :CurveID ),
Color( :Curve Group )
),
Elements(
Points( X, Y, Legend( 11 ) ),
Line( X, Y, Legend( 13 ) ),
Line(
X,
Y,
Overlay( 0 ),
Legend( 16 ),
Error Interval( "Standard Deviation" )
)
),
SendToReport(
Dispatch( {}, "400", ScaleBox,
{Legend Model(
11,
Properties( 2, {Marker( "Dot" )}, Item ID( "1", 1 ) ),
Properties(
3,
{Marker( "Dot" ), Transparency( 0.5 )},
Item ID( "2", 1 )
),
Properties(
4,
{Marker( "Dot" ), Transparency( 0.5 )},
Item ID( "3", 1 )
),
Properties(
5,
{Marker( "Dot" ), Transparency( 0.5 )},
Item ID( "4", 1 )
),
Properties(
6,
{Marker( "Dot" ), Transparency( 0.5 )},
Item ID( "5", 1 )
),
Properties(
7,
{Marker( "Dot" ), Transparency( 0.5 )},
Item ID( "6", 1 )
)
), Legend Model(
13,
Properties( 0, {Transparency( 0.5 )}, Item ID( "A", 1 ) ),
Properties( 1, {Transparency( 0.5 )}, Item ID( "B", 1 ) ),
Properties( 2, {Transparency( 0.5 )}, Item ID( "1", 1 ) ),
Properties(
3,
{Line Style( "Solid" ), Transparency( 0.5 )},
Item ID( "2", 1 )
),
Properties(
4,
{Line Style( "Solid" ), Transparency( 0.5 )},
Item ID( "3", 1 )
),
Properties(
5,
{Line Style( "Solid" ), Transparency( 0.5 )},
Item ID( "4", 1 )
),
Properties(
6,
{Line Style( "Solid" ), Transparency( 0.5 )},
Item ID( "5", 1 )
),
Properties(
7,
{Line Style( "Solid" ), Transparency( 0.5 )},
Item ID( "6", 1 )
)
), Legend Model(
16,
Properties(
2,
{Line Color( 0 ), Line Width( 4 )},
Item ID( "Mean", 1 )
)
)}
),
Dispatch( {}, "", GraphBuilderContainerBox, {Select} ),
Dispatch( {}, "Graph Builder", FrameBox( 2 ),
{DispatchSeg( BarSeg( 1 ), {Line Width( 3 )} )}
),
Dispatch( {}, "400", LegendBox,
{Legend Position(
{11, [-3, -3, -1, -1, -1, -1, -1, -1], 13, [-1, -1, -1, -1, -1, -1,
-1, -1], 16, [-3, -3, 0, -3]}
)}
)
)
);Publicación relacionada: Graph Builder. ¿Cómo combinar suavizador y línea?
Este es un tipo de gráfico bastante estándar; desafortunadamente, este tipo de gráfico JMP se queda muy atrás de otras herramientas.
Existen soluciones creativas, como reformatear la tabla de datos (agregar columnas, agregar filas ficticias) o reformatear el gráfico (trazar por orden de filas y ocultar los saltos inversos configurando la opacidad a 0, publicación original de @XanGregg )
Un ejemplo:
dt = Open( "$DOWNLOADS/example curve data.jmp" );
dt:X << Set Modeling Type( "Continuous" );
New Column( "falling X",
Character,
Formula( If( :X - Lag( :X ) < 0, "", :Curve Group ) ),
);
Graph Builder(
Size( 518, 448 ),
Show Control Panel( 0 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables(
X( :X ),
Y( :Y ),
Overlay( :Curve Group ),
Color( :falling X )
),
Elements(
Line( X, Y, Legend( 6 ), Ordering( "Row Order" ) ),
Line( X, Y, Color( 0 ), Legend( 7 ) )
),
SendToReport(
Dispatch( {}, "400", ScaleBox,
{Legend Model(
6,
Properties( 0, {Transparency( 0 )}, Item ID( "Missing", 1 ) ),
Properties( 1, {Transparency( 0.5 )}, Item ID( "A", 1 ) ),
Properties( 2, {Transparency( 0.5 )}, Item ID( "B", 1 ) )
), Legend Model(
7,
Properties( 0, {Line Color( 3 )}, Item ID( "A", 1 ) )
)}
)
)
);

Soluciones reales:
a)Generador de gráficos: superposición de varias columnas :
b) Implemente una opción de un clic en Graph Builder para ocultar las líneas de retroceso:
Generador de gráficos: Línea - posibilidad de añadir saltos
Ambos deseos han recibido muchos elogios a lo largo de los años, así que esperemos que alguno de ellos se haga realidad pronto...